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
• 19,610 points
5,195 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
• 59,230 points

Related Questions In Puppet

+3 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, 2020 in Puppet by Karan
• 19,610 points
3,925 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
2,562 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
1,145 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
2,575 views
+15 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,992 views
+2 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP