[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Editing /etc/hosts On Puppetmaster Server



Besides having a CNAME record on my DNS box (which is entirely separate from the box that I'm running puppetmaster on), I experimented a bit and on the puppetmaster server I edited the /etc/hosts localhost entry like this, appending 'puppet' to the end of the line:

127.0.0.1 localhost.localdomain localhost deafeng3.signtype.info deafeng3 puppet

Pinging 'puppet' now gets this:

[rlc deafeng3 ~]$ ping -c3 puppet
PING localhost.localdomain (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=64 time=0.084 ms 64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=2 ttl=64 time=0.101 ms 64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=3 ttl=64 time=0.101 ms

which should be okay for the puppet client running on the same machine as the server. If it doesn't look right, feel free to correct me.

Bob







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]