Agent not reading /etc/sysconfig/puppet server= -
we have several servers working puppet agents today, i'm having problem new server running centos 7. update /etc/sysconfig/puppet file puppet master name , start daemon , move signing certificate on master. however, puppet agent doesn't appear reading server = myhost.domain in config file. following error in /var/log/messages:
puppet-agent[11133]: not request certificate: getaddrinfo: name or service not known
i tried:
myserver:root$ puppet agent --configprint server puppet myserver:root$ but /etc/sysconfig/puppet file has:
puppet_server=myserver.domain.com can please me understand why puppet agent doesn't server config file?
the /etc/sysconfig/puppet file not typically read puppet agent. (i'm not familiar centos operations, suppose location might hold settings external process, such environment, command line switches etc.)
you want use proper puppet configuration file:
/etc/puppet/puppet.confpuppet3.x, earlier/etc/puppetlabs/puppet.confpuppet4.x
Comments
Post a Comment