Vivek, the solution is already in this thread. Read jcbollingers answer -- Lowe Schmidt | +46 723 867 157
On 3 June 2016 at 09:25, Vivek Mishra <vivekmishra...@gmail.com> wrote: > Hi John, > > I am facing a similar type of error. Can you help me. > > sudo puppet agent -tWarning: Unable to fetch my node definition, but the > agent run will continue:Warning: getaddrinfo: Name or service not knownInfo: > Retrieving pluginfactsError: /File[/var/lib/puppet/facts.d]: Failed to > generate additional resources using 'eval_generate': getaddrinfo: Name or > service not knownError: /File[/var/lib/puppet/facts.d]: Could not > evaluate: Could not retrieve file metadata for > puppet://puppet1-puppet-master/pluginfacts: > getaddrinfo: Name or service not knownInfo: Retrieving pluginError: > /File[/var/lib/puppet/lib]: Failed to generate additional resources using > 'eval_generate': getaddrinfo: Name or service not knownError: > /File[/var/lib/puppet/lib]: Could not evaluate: Could not retrieve file > metadata for puppet://puppet1-puppet-master/plugins: getaddrinfo: Name or > service not knownError: Could not retrieve catalog from remote server: > getaddrinfo: Name or service not knownWarning: Not using cache on failed > catalogError: Could not retrieve catalog; skipping runError: Could not > send report: getaddrinfo: Name or service not known > > > On Wednesday, September 3, 2014 at 11:22:58 PM UTC+5:30, jcbollinger wrote: > >> >> >> On Tuesday, September 2, 2014 8:55:15 AM UTC-5, Spriya wrote: >>> >>> Hi, >>> >>> I installed puppet using open source. when i tryied to run puppet agent >>> -t it is throwing me error. >>> >>> puppet agent -t >>> Warning: Unable to fetch my node definition, but the agent run will >>> continue: >>> Warning: getaddrinfo: Name or service not known >>> Info: Retrieving pluginfacts >>> >>> >>> >>> >>> >>> >>> >>> >>> *Error: /File[/var/lib/puppet/facts.d]: Failed to generate additional >>> resources using 'eval_generate': getaddrinfo: Name or service not >>> knownError: /File[/var/lib/puppet/facts.d]: Could not evaluate: Could not >>> retrieve file metadata for puppet://puppet/pluginfacts: getaddrinfo: Name >>> or service not knownWrapped exception:getaddrinfo: Name or service not >>> knownInfo: Retrieving pluginError: /File[/var/lib/puppet/lib]: Failed to >>> generate additional resources using 'eval_generate': getaddrinfo: Name or >>> service not knownError: /File[/var/lib/puppet/lib]: Could not evaluate: >>> Could not retrieve file metadata for puppet://puppet/plugins: getaddrinfo: >>> Name or service not knownWrapped exception:getaddrinfo: Name or service not >>> known* >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> *[main] # The Puppet log directory. # The default value is >>> '$vardir/log'. logdir = /var/log/puppet # Where Puppet PID files are >>> kept. # The default value is '$vardir/run'. rundir = >>> /var/run/puppet # Where SSL certificates are kept. # The default >>> value is '$confdir/ssl'. ssldir = $vardir/ssl[agent] # The file in >>> which puppetd stores a list of the classes # associated with the >>> retrieved configuratiion. Can be loaded in # the separate ``puppet`` >>> executable using the ``--loadclasses`` # option. # The default value >>> is '$confdir/classes.txt'. classfile = $vardir/classes.txt # Where >>> puppetd caches the local configuration. An # extension indicating the >>> cache format is added automatically. # The default value is >>> '$confdir/localconfig'. localconfig = >>> $vardir/localconfig[master] certname = hostname* >>> >>> >>> please help me >>> >>> >> >> The agent does not know the correct hostname of the master. It is trying >> to look it up via the default name, 'puppet,' but the system's resolver >> does not find anything by that name. Add a >> >> server = <puppet.master.fqdn> >> >> to the [agent] section of your puppet.conf. >> >> >> John >> >> -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/fc097b9a-3028-4651-aca1-ac2eae32056a%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/fc097b9a-3028-4651-aca1-ac2eae32056a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAC-wWcTiWC6w8gy55yybj5a2o3LGEfqkrUJYvxaJ67NpLMvQiw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.