Hi,

my opinion: create modules for everything, even if it's a single file copy.
But create something that you can expand in the future.

It's quite easy to create a puppet module (
http://fullstack-puppet-docs.readthedocs.io/en/latest/puppet_modules.html)
so it will take you 5 minutes to write your own module(s).

No matter how you start, working with modules is something that you'll
thank in the future when you decide to add more stuff (code/hosts) to your
puppet installation..

Then, create a manifest.pp and configure your nodes like:

node 'abc' {
}

node 'xyz' {
}

HTH,
Arnau

2018-05-15 23:00 GMT+02:00 jeffster <[email protected]>:

> Good day all,
>
> Newbie looking for some insight on how to organize manifests on puppet
> master. Simple setup with only a couple of machines to manage. One of my
> main sticking point is that according to the literature I've seen, they all
> seem to agree upon the fact that code must be organized using modules. My
> question is--If my setup is so simple, can I do without them? All I have
> are a few manifest files and templates.
>
> Secondly, should I go with the modules approach and divide my code in said
> modules, what happens when a portion of puppet code doesn't really fit
> logically into any of them? Would the code be kept at the site.pp level
> instead?
>
> Thank you
>
> jeff
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/puppet-users/bb6a05e9-fe38-4bdf-9a77-702cc8227824%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/bb6a05e9-fe38-4bdf-9a77-702cc8227824%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAM69jx93Qgt4OShRycGzjibCv%2Bb%3DiNer3GAXrBhT5hWWb3vTyQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to