On Feb 16, 2011, at 6:37 AM, Phillip B Oldham wrote: > In the docs it says one must add a line to the /etc/hosts file with > the name "puppet" and the IP of the puppet master. This isn't a > possibility for us as the IP is subject to change. Is it possible to > configure the puppet clients to look for a specific domain to find the > master? eg. "puppetmaster.mydomain.com"? If so, how/where can this be > configured?
Other people already answered you question directly but, if you control and host your DNS, an even better option would be to add a CNAME from puppet.mydomain.com to puppetmaster.mydomain.com. Then you can just change the CNAME any time you chance which computer is the puppetmaster. If you can't do that, can you change the hostname of the server to puppet.mydomain.com? The CNAME option it probably the right way to do it if you can affect DNS. (Note: I'm also assuming that mydomain.com is in your search domain list. This will only work if "ping puppet" pings the puppet master) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
