----- Original Message ----- > From: "R.I.Pienaar" <r...@devco.net> > To: puppet-users@googlegroups.com > Sent: Wednesday, May 2, 2012 4:46:24 PM > Subject: Re: [Puppet Users] Using fact to determine node environment > > > > ----- Original Message ----- > > From: "Nigel Kersten" <ni...@puppetlabs.com> > > To: puppet-users@googlegroups.com > > 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 < r...@devco.net > > > 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 puppet-users@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.