Hello,

I was running Puppet server in version 0.24.8 on Srerver and 0.24.4 up to 
0.24.8 on client and configured multiple environments. The desired behavior 
is to have different sets of manifests and modules for my two 
environments "testing" and "production". But it works only for my modules not 
for my manifests folders.  I discover this behavior because of an upgraded to 
version 0.25.4 on server and client, but I dont know if it is due to the 
update. For this update, I've changed the access to the puppetserver from 
passenger to the build in webbrick. My Clients are CentOS 5.4 and Debian 
Lenny, my Server is a CentOS 5.4 box.

My configuration looks as follows:

There are two folders in /etc/puppet: testing and production. On my server the 
puppet.conf looks like:

[main]
    vardir = /var/lib/puppet
    logdir = /var/log/puppet
    rundir = /var/run/puppet
    ssldir = $vardir/ssl
    environments = production,testing
[production]
    manifestdir = /etc/puppet/production/manifests
    modulepath = /etc/puppet/production/modules
    manifest = /etc/puppet/production/manifests/site.pp
[testing]
    manifestdir = /etc/puppet/testing/manifests
    modulepath = /etc/puppet/testing/modules    
    manifest = /etc/puppet/testing/manifests/site.pp
[puppetmasterd]
certdnsnames=puppet-server.fe.example.com:puppet-server.be.example.com:puppet-server.bla.example.com:puppet-server.test-frontend.example.com:puppet-server.test-backend.example.com
[puppetd]
    classfile = $vardir/classes.txt
    localconfig = $vardir/localconfig
    server=puppet-server.fe.example.com
    environment = production

On my Clients for the testing environment the puppet.conf file looks like:

[main]
    vardir = /var/lib/puppet
    logdir = /var/log/puppet
    rundir = /var/run/puppet
    ssldir = $vardir/ssl
    environment=testing
    environments=testing
[puppetd]
    classfile = $vardir/classes.txt
    localconfig = $vardir/localconfig
    server=puppet-server.fe.example.com

Did someone have an idea what is going on in my case?

best regards,

Hubert

-- 
Hubert Krause
Risk & Fraud Division
INFORM GmbH, Pascalstraße 23, 52076 Aachen, Germany
Phone: +49 24 08 - 94 56 5145
E-Mail: hubert.kra...@inform-ac.com, Web: http://www.inform-ac.com
INFORM Institut fuer Operations Research und Management GmbH
Registered AmtsG Aachen HRB1144 Gfhr. Adrian Weiler

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to