----- Original Message ----- > From: "R.I.Pienaar" <[email protected]> > To: [email protected] > Sent: Wednesday, May 2, 2012 4:46:24 PM > Subject: Re: [Puppet Users] Using fact to determine node environment > > > > ----- Original Message ----- > > From: "Nigel Kersten" <[email protected]> > > To: [email protected] > > Sent: Wednesday, May 2, 2012 4:38:38 PM > > Subject: Re: [Puppet Users] Using fact to determine node > > environment > > > > > > > > > > On Wed, May 2, 2012 at 8:37 AM, R.I.Pienaar < [email protected] > > > wrote: > > > > > > > > > > > > > > > > Unless something broke it recently, I ran for years with a fact > > > > that > > > > returned ":environment" and didn't set it in puppet.conf at > > > > all. > > > > > > yes, it broke. You'll get a mix of files from one environment and > > > classes > > > from another etc, puppet.conf is the only option now > > > > > > > > > > > > > > > I think you're thinking of the ENC setting the environment, not a > > > fact called 'environment' RI? > > > > nope. > > > > > > > > > > > > Anyone got a bug # for this? > > pretty sure there was one but couldnt find it so I just knocked up a > quick test, this has been discussed to death in the past
should say I am on 2.6.x here, this may well have been fixed in 2.7.x -- 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.
