[Puppet Users] Re: Multiple environments

2009-11-13 Thread R.I.Pienaar
hello, - "Thomas Bellman" wrote: > Scott wrote: > > > Is anyone using multiple environments? Can someone at least tell > me > > what they did to get it working? > I wrote up the following: http://www.devco.net/archives/2009/10/10/puppet_environments.php That'll work for 0.24.8 onward

[Puppet Users] Re: Multiple environments

2009-11-12 Thread Scott
Pete, I only put the "modulepath" and "manifest" entries in the "main" section in an attempt to get environments to work. So your configuration is working with just a separate section like [testing] in my puppet.conf? No "environments" entry in [puppetmasterd] and just "modulepath" and "manifes

[Puppet Users] Re: Multiple environments

2009-11-12 Thread Pete Emerson
Scott, Multiple environments is working for me under puppet 0.25.1. I'm not sure what's wrong, but I wonder if having a manifest and modulepath entry in the [main] part of your puppet.conf is overriding any sections below. My puppet.conf does not have a manifest or modulepath entry in [main]. P

[Puppet Users] Re: Multiple environments

2009-11-12 Thread Luke Schierer
I just had to set the environment variable in the puppet.conf file before starting the puppetd daemon. Then in each class I use that variable to determine what happens, for example file { "smtpd.conf": owner => root, group => root, mode=> 600,

[Puppet Users] Re: Multiple environments

2009-11-12 Thread Scott
Is anyone using multiple environments? Can someone at least tell me what they did to get it working? Thanks, Scott On Nov 12, 6:53 am, Scott wrote: > 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 >