On 16 May 2011 20:26, Adam Heinz <a...@metricwise.net> wrote:

I just refer to the puppetmaster as 'puppet' everywhere and drop an
> entry in /etc/hosts for it.  Then if I wanted to migrate off a server,
> I would just hardcode away $servername and $serverip on the old
> puppetmaster to point to the new one, and copy the certs over.
>
> node default {
>    case $fqdn {
>        /puppetmaster/: {
>            host { puppet:
>                host_aliases => [ "localhost.localdomain", "puppet" ],
>                ip           => "127.0.0.1",
>                name         => "localhost",
>            }
>        }
>        default: {
>            host { puppet:
>                host_aliases => $servername,
>                ip           => $serverip,
>                name         => "puppet",
>           }
>        }
>    }
> }
>

Why the distinction between the two? What's wrong with using a LAN IP on the
puppetmaster machine as well? To me that's much clearer that misusing
loopback.

Thanks

Chris

-- 
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