Version 1 (modified by 13 years ago) ( diff ) | ,
---|
Configuring geeblox server
You might run into a few problems with geeblox server configuration. Using our freepuppet-helper for both geeblox servers fela and femi threw one or both of these error:
remote: Could not retrieve hostname: getaddrinfo: Name or service not known remote: warning: Could not retrieve fact fqdn
It seems that the default configurations of these servers require us to modify the dns and host settings of the server itself. Here's are files to check, if you run into these errors.
- /etc/hostname
- /etc/hosts
- /etc/resolv.conf
On fela this is what they look like respectively, you should replace fela below with the actual server name and correct ip address.
/etc/hostname
fela
/etc/hosts
127.0.0.1 localhost 74.119.238.34 fela.mayfirst.org fela # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters
/etc/resolv.conf
nameserver 4.2.2.1
/etc/resolve.conf should only look like this for initial configuration. Puppet should change those values to the appropriate values. This is only for getting the initial puppet configurations working properly.