Puppet configuration

Hi Friends,

I was inspired after watching your tutorials, I wanted to ask a question about Puppet. Could you tell me please how to save multiple manifests? Like for eg. I have been using these codes to create and test puppet agent on my home lab. But how can I have multiple manifests files and join them to have a class.

$ sudo mkdir -p /etc/puppet/code/environments/production/manifests $ sudo nano /etc/puppet/code/environments/production/manifests/site.pp

If there is any other way I can contact you it would be so great.



Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @banerjeesourav29,

The roles and profiles method is the most reliable way to build reusable, configurable, and refactorable system configurations.

It’s not a straightforward recipe: you must think hard about the nature of your infrastructure and your team. It’s also not a final state: expect to refine your configurations over time. Instead, it’s an approach to designing your infrastructure’s interface — sealing away incidental complexity, surfacing the significant complexity, and making sure your data behaves predictably.

This is quite the topic so I would suggest counting to read about it here -

Regards, KDSys