Report this

What is the reason for this report?

Puppet configuration

Posted on January 24, 2020

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.

Sourav



This textbox defaults to using Markdown to format your 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 - https://puppet.com/docs/pe/2018.1/the_roles_and_profiles_method.html

Regards, KDSys

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.