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.conf puppet 3.x , earlier
  • /etc/puppetlabs/puppet.conf puppet 4.x

Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -