So I'm trying to get multiple environments to work with puppet 0.25.1
on ubuntu 8.04 and no matter what I do, puppet just completely ignores
any environment setting. There's really next to no information in
terms of configuration on the multiple environments documentation page
(http://reductivelabs.com/trac/puppet/wiki/UsingMultipleEnvironments)
other than saying that the following section should be in my
puppet.conf file:
[main]
manifest = /usr/share/puppet/site.pp
modulepath = /usr/share/puppet/modules
[development]
manifest = /usr/share/puppet/development/site.pp
modulepath = /usr/share/puppet/development/modules
There are other references on web pages and groups to an
"environments" setting under "puppetmasterd" as well as having a
default "environment" setting in "main" for the clients but I've tried
all of that and nothing works. There's also no reference at all to
any environment in debugging mode when I run "puppetd --test --
environment=test -d". Am I missing something?
Here's a copy of my puppet.conf file:
[main]
vardir = /var/lib/puppet
manifest = /etc/puppet/manifests/site.pp
modulepath = /etc/puppet/modules
pluginsync = true
storeconfigs = true
#
dbadapter = mysql
dbuser = puppet
dbpassword = ****
dbserver = mysql.example.com
[puppetmasterd]
certname=puppet.example.com
[testing]
manifest=/etc/puppet-testing/manifests/site.pp
modulepath=/etc/puppet-testing/modules
[production]
manifest=/etc/puppet/manifests/site.pp
modulepath=/etc/puppet/modules
Cheers,
Scott
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---