Ask Your Question
1

getting error during puppet agent --test command execution

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

Sachikanta Mishra gravatar image

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

golja gravatar image

Hello,

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://PEM_SERVER.att.bt.com/plugins: Error 400 on SERVER: expected next name, value pair in object ...
(more)
edit retag flag offensive close merge delete

Comments

1

Please post your puppet.conf from the agent.

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

can you please post the manifest code if possible?

Sneha More gravatar imageSneha More ( 2013-09-17 00:19:32 -0500 )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 -0500 )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 -0500 )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 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

Himanshu Dubey gravatar image

Hi Sachikanta,

Try to follow steps mentioned in the below link. http://docs.puppetlabs.com/puppet/4.1...regeneratecertificates.html

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

Stats

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

Seen: 344 times

Last updated: Sep 13 '13