Thank you john. It really helped me a lot. On Wednesday, September 3, 2014 1:52:58 PM UTC-4, 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/98d71aab-d65d-425c-bb14-aff0615f7b7b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
