Ask Your Question

getting error during puppet agent --test command execution

asked 2013-09-13 06:40:34 -0600

Sachikanta Mishra gravatar image

updated 2013-09-17 10:03:59 -0600

golja gravatar image


While executing puppet agent --test command in master as well as agent machine I am getting the below error.

[root@PEM_SERVER modules]# puppet agent --test
info: Retrieving plugin
err: /File[/var/opt/lib/pe-puppet/lib]: Failed to generate additional resources using 'eval_generate: Error 400 on SERVER: expected next name, value pair in object at ''!
err: /File[/var/opt/lib/pe-puppet/lib]: Could not evaluate: Error 400 on SERVER: expected next name, value pair in object at ''! Could not retrieve file metadata for puppet:// Error 400 on SERVER: expected next name, value pair in object ...
edit retag flag offensive close merge delete



Please post your puppet.conf from the agent.

ethrbunny gravatar imageethrbunny ( 2013-09-13 12:56:28 -0600 )edit

can you please post the manifest code if possible?

Sneha More gravatar imageSneha More ( 2013-09-17 00:19:32 -0600 )edit

Also, what type of file is /var/opt/lib/pe-puppet/lib currently and what are its contents?

ffrank gravatar imageffrank ( 2013-12-20 07:54:51 -0600 )edit

Add the entry in your puppet.conf file on agent machine [main] server=puppet master FQDN

akshay gravatar imageakshay ( 2015-04-16 01:35:49 -0600 )edit

Ensure your puppet master is reachable and proper value defined in # grep server /etc/puppet/puppet.conf server = "your puppet master fqdn" OR Else create a DNS alias "puppet" for your puppet master fqdn, as default puppet agent searches for puppet master as "puppet"

shirish shukla gravatar imageshirish shukla ( 2015-06-11 01:34:28 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-06-18 05:48:40 -0600

Himanshu Dubey gravatar image

Hi Sachikanta,

Try to follow steps mentioned in the below link.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-09-13 06:40:34 -0600

Seen: 384 times

Last updated: Sep 13 '13