Ask Your Question
0

Could not recieve information from environment production...

asked 2014-07-29 12:05:59 -0500

pedroluz gravatar image

updated 2014-07-30 03:35:48 -0500

Hi,

Im getting this error on my node agent, when i run puppet agent --test

err: /File[/var/lib/puppet/lib]: Could not evaluate: Could not retrieve information from environment production source(s) puppet://puppet/plugins

The problem is that I don't have a environment called "production". Why is that being called? Is "production" some default or required name?

Puppet master and agent with version 2.7.25

thanks

edit retag flag offensive close merge delete

Comments

environment = production by default. Add the version of Puppet you've installed for the master and agent. I haven't seen this error in a some time and IIRC it was because there were no facts to sync, but I thought it was solved in 2.7.

ramindk gravatar imageramindk ( 2014-07-29 17:43:41 -0500 )edit

just added the version

pedroluz gravatar imagepedroluz ( 2014-07-30 03:36:01 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-07-30 03:38:19 -0500

pedroluz gravatar image

After reading more about it, I found that the environment by default is "production", but we can specify one in /etc/puppet/puppet.conf

[agent]
environment = otherenviroment
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: 2014-07-29 12:05:59 -0500

Seen: 134 times

Last updated: Jul 30 '14