# changes in environment manifests ignored?

Hi!

I have a problem using environments with puppet.

I set up my environments as described in the Pro Puppet book. My puppet.conf on the master looks like this:

[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter templatedir=$confdir/templates

[master]
# These are needed when the puppetmaster is run by passenger
# and can safely be removed if webrick is used.
certname=puppet.example.tld

[agent]
server=puppet.example.tld

[production]
modulepath = $confdir/modules manifest =$confdir/manifests/site.pp

[testing]
modulepath = $confdir ... edit retag close merge delete ## Comments You should treat production as an environment, ie put the code for production under the same hierarchy as testing : manifest =$confdir/manifests/site.pp (belongs to environments/production) manifest = $confdir ...(more) ( 2014-01-02 14:08:39 -0500 )edit Hi Julien! I left production in a different hierarchy as testing and development, because that's how it is described in the new "Pro Puppet" book. But you are right ...(more) ( 2014-01-13 10:59:03 -0500 )edit Regarding my problem with the environments: I did a re-setup of my puppetmaster from scratch, because i moved it into a VM - and now the problem is gone. So I ...(more) ( 2014-01-13 11:01:08 -0500 )edit ## 1 Answer Sort by » oldest newest most voted Refactor: The …path-variables work like the${PATH}-variable in a shell.

[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter [master] ssl_client_header = SSL_CLIENT_S_DN ssl_client_verify_header = SSL_CLIENT_VERIFY environmentpath=$confdir/environments
modulepath=$confdir/environments/$environment/modules:\$confdir/module

[agent]
server=puppet.example.tld
certname=my.host.local.domain
environment=testing
more