I think this could be nice to do. For clusters (where every node should have the same entries) it would ease the handling. If so, how do you manage it? Static file, template, augeas, other? Would be interesting to know..... BR, Rene --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
James Turnbull
2009-Jun-12 14:49 UTC
[Puppet Users] Re: Do you manage your /etc/hosts via puppet
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Rene wrote:> I think this could be nice to do. For clusters (where every node > should have the same entries) it would ease the handling. > > If so, how do you manage it? Static file, template, augeas, other? > > Would be interesting to know..... >I use the native type: http://reductivelabs.com/trac/puppet/wiki/TypeReference#host Sometimes combined with: http://reductivelabs.com/trac/puppet/wiki/ExportedResources Regards James Turnbull - -- Author of: * Pro Linux Systems Administration (http://tinyurl.com/linuxadmin) * Pulling Strings with Puppet (http://tinyurl.com/pupbook) * Pro Nagios 2.0 (http://tinyurl.com/pronagios) * Hardening Linux (http://tinyurl.com/hardeninglinux) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFKMmrs9hTGvAxC30ARAg7JAJ9AV7OUx2IOppOTO/tqgGjTo8jjDACeO+5w LVYztY5Jmqm2mRqbAvAm+nE=g0oy -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Thomas Bellman
2009-Jun-12 15:09 UTC
[Puppet Users] Re: Do you manage your /etc/hosts via puppet
Rene wrote:> I think this could be nice to do. For clusters (where every node > should have the same entries) it would ease the handling. > > If so, how do you manage it? Static file, template, augeas, other?On the Beowulf clusters where we run Puppet, we use a template. Since we want over 150 entries in it, many with very similar names, it seemed like the easiest way. I''m attaching that template. On my personal workstations and laptops, I use the builtin ''host'' type of Puppet, since there I only want to add a single entry. On yet other systems, I will probably not touch /etc/hosts at all. /Bellman --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---