On 9/24/14 1:12 PM, Tom Tucker wrote: > > I would like to use a profile that would be applied against all Linux > based systems to ensure they have an appropriate /etc/ntp.conf based on > their data center location as defined by Hiera. My question is how do I > deploy this client based ntp.conf to all Linux systems, but also ensure > my four Linux based NTP server feeding these clients continue to have > unique server based NTP configs? > > > > In other words.... > > I have four data centers and 2000+ systems. If you are a Linux system > and not marked as an NTP server then use this client ntp.conf. > > > > What is the best way to achieve such? > > > > Thanks in advance,
Hi Tom, Instead of thinking in terms on exclusions, think in terms of roles of systems. In regards to NTP you have two, ntp clients and ntp servers. I would include an ntp class for all of your Linux based systems and if the role is ntp server then you have a level in Hiera for it that describes the changes that are particular to those systems such as different upstream NTP servers, options, etc. Best regards, -g -- Garrett Honeycutt @learnpuppet Puppet Training with LearnPuppet.com Mobile: +1.206.414.8658 -- 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 puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/54231FCB.60908%40garretthoneycutt.com. For more options, visit https://groups.google.com/d/optout.