Ask Your Question

Puppet deletes libs when I turn on environments [closed]

asked 2013-11-19 22:55:35 -0600

Ricardo gravatar image

updated 2013-11-19 23:37:28 -0600

Hey guys. I am getting a weird behaviour when I try to run puppet using environments. I've defined a new environment block called production in puppet.conf of puppet master. After adding this new environment block I restarted puppetmaster (in my case httpd) and then tried to execute puppet in my node. When I do that, Puppet deletes everything located in /var/lib/puppet/lib/. If I remove the production environment block, puppet master adds the files back in the node. Any idea why it is happening?

My puppet.conf in puppet master:

    # The Puppet log directory.
    # The ...
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Ricardo
close date 2013-11-19 23:39:04.169208

1 Answer

Sort by ยป oldest newest most voted

answered 2013-11-19 23:38:37 -0600

Ricardo gravatar image

I followed the documentation and the problem is fixed.

I was setting up the environments in a wrong way.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2013-11-19 22:55:35 -0600

Seen: 96 times

Last updated: Nov 19 '13