Re: [Puppet Users] How to organizing puppet code on the master

2018-05-17 Thread jcbollinger
On Wednesday, May 16, 2018 at 4:51:08 PM UTC-5, Andrew Grimberg wrote: > > I know some folks think this is heresy, but I personally dislike > defining each node in the default manifest. > > I think it's better to drive as much data as possible from hiera as > possible, as such I do it more

Re: [Puppet Users] How to organizing puppet code on the master

2018-05-16 Thread Andrew Grimberg
I know some folks think this is heresy, but I personally dislike defining each node in the default manifest. I think it's better to drive as much data as possible from hiera as possible, as such I do it more like this. I define a node definition that does a hiera lookup to determine what role to

Re: [Puppet Users] How to organizing puppet code on the master

2018-05-16 Thread Arnau
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