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?
thanks
You are using pluginsync (good) however there are no plugin directories on the puppet master - see this page http://projects.reductivelabs.com/issues/2244 Easiest solution is to ensure that you have at least one module with a "lib" subdirectory.
source: http://bitcube.co.uk/content/puppet-errors-explained
since i was not defining the environment when running puppet agent, it was calling production environment.
by specifying in /etc/puppet/puppet.conf
now it works