For my puppet-managed servers, I want roughly half to use nameserver1 followed by nameserver2, and the other half to use nameserver2 in preference to nameserver1.

The most reliable and simplest way I can think of doing this is to look at the last octet of the IP address, test whether it is even or odd, and apply different nameservers accordingly.

Two questions: how would this be easily achieved in a manifest, and is there a better way? :)

Cheers,
Jonathan

--
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to