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, 2019 in Puppet by Karan
• 9,500 points
439 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, 2019 by Sirajul
• 50,440 points

Related Questions In Puppet

+2 votes
1 answer

etaddrinfo: Temporary failure in name resolution puppet

Your issue is similar to https://www.edureka.co/community/54484/request-certificate-getaddrinfo-temporary-failure-resolution?show=54484#q54484  Have a look ...READ MORE

answered Jan 6 in Puppet by Karan
• 9,500 points
184 views
0 votes
1 answer

Error saying "Error: Could not parse for environment production" - Puppet

Hey @Nagya, You need to set the ...READ MORE

answered Feb 15, 2019 in Puppet by Kavya
278 views
0 votes
1 answer

Error saying "Error: Could not autoload puppet/provider/package/rpm: No child processes." While installing gcc through puppet

Hey @Laksha, check your internet connectivity. You usually ...READ MORE

answered Feb 15, 2019 in Puppet by Jugnu
117 views
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, 2019 in Puppet by Haider
323 views
+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,400 points
421 views
0 votes
1 answer