Puppet deletes libs when I turn on environments [closed]
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:
[main] # The Puppet log directory. # The ...