Puppet: Error: Could not request certificate: getaddrinfo: Temporary failure in name resolution

0 votes

 I was trying to install a package nagios-common using a puppet manifest.

class pckd {
  package {'nagios-common':
    ensure => present,
  }
}

node default {
  include pckd
}

On running puppet apply on the master node, successfully installed the package. I have applied puppet agent -t on the agent nodes and was unable to install the package on the agent node.

Below is the /var/log.

labcluster01node01 puppet-agent[99575]: Could not request certificate: getaddrinfo: Temporary failure in name resolution
labcluster01node01 nagios: Auto-save of retention data completed successfully.
labcluster01node01 puppet-agent[99575]: Could not request certificate: getaddrinfo: Temporary failure in name resolution

Aug 8 in Puppet by Karan
• 1,510 points
21 views

1 answer to this question.

0 votes

You are getting this error because your master and agent are having some issues with communication, try pinging master from slave and see.

It should work fine when you add FQDN of master to the \etc\hosts file of agent.

Hope this helps!

answered Aug 8 by Sirajul
• 19,670 points

Related Questions In Puppet

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Error: Could not find init script for 'puppet' - Puppet error

You need to be running your processes ...READ MORE

answered Mar 12 in Puppet by Haider
105 views
0 votes
1 answer
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
124 views
0 votes
1 answer