Kyle Sexton
2012-Jul-25 04:12 UTC
[Puppet Users] Skeleton configuration for managing multiple locations in puppet
I created a skeleton configuration for managing multiple locations in puppet that I would appreciate feedback on. The configuration as it stands is that two sites are defined, Earth and Mars. Parameters for each site are defined in site/manifests/earth/params.pp and site/manifests/mars/params.pp. I also included are two modules, ntp and user, to demonstrate configuring modules across sites. I''m using puppet enterprise if that makes any difference. Is the way that I''ve approached this decent? Are there glaring pitfalls if this configuration were to grow to more servers/sites? Should I be looking into fancy new buzzwords like heira? :) All the stuff I''ve written is at https://github.com/ksexton/puppet-sites Thanks in advance. -- Kyle Sexton -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Felix Frank
2012-Jul-30 13:03 UTC
Re: [Puppet Users] Skeleton configuration for managing multiple locations in puppet
Hi, On 07/25/2012 06:12 AM, Kyle Sexton wrote:> I created a skeleton configuration for managing multiple locations in puppet that I would appreciate feedback on. The configuration as it stands is that two sites are defined, Earth and Mars. Parameters for each site are defined in site/manifests/earth/params.pp and site/manifests/mars/params.pp. I also included are two modules, ntp and user, to demonstrate configuring modules across sites. I''m using puppet enterprise if that makes any difference. > > Is the way that I''ve approached this decent? > Are there glaring pitfalls if this configuration were to grow to more servers/sites?Not that I can see at a glance. I do wonder though why you''d want to declare those users virtual if they''re getting realized on the whole site, anyway.> Should I be looking into fancy new buzzwords like heira? :)I''d say you definitely should. You will still need per-site manifest code, but hiera can make it really easy to define site-wide defaults at a semantically sensible granularity, or so I presume. Cheers, Felix -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.