Re: [Puppet Users] Dynamic Lookup of facter variable.

2012-08-21 Thread Tim Mooney
In regard to: Re: [Puppet Users] Dynamic Lookup of facter variable., Nigel...: It's one of those things that I wish I had known before I spent hours changing our modules in preparation for what I thought was going to be a requirement for puppet 3.x, but better late than never. :

Re: [Puppet Users] Dynamic Lookup of facter variable.

2012-08-21 Thread Nigel Kersten
On Mon, Aug 20, 2012 at 9:50 PM, Tim Mooney wrote: > In regard to: Re: [Puppet Users] Dynamic Lookup of facter variable., > Nigel...: > >>>> Facts were supposed to be able to be referenced as $factname without >>>> throwing the deprecation warning in your relea

Re: [Puppet Users] Dynamic Lookup of facter variable.

2012-08-20 Thread Tim Mooney
In regard to: Re: [Puppet Users] Dynamic Lookup of facter variable., Nigel...: Facts were supposed to be able to be referenced as $factname without throwing the deprecation warning in your release, it's been fixed in later versions. Are you saying that we do *not* need to reference fac

Re: [Puppet Users] Dynamic Lookup of facter variable.

2012-08-20 Thread Nigel Kersten
On Mon, Aug 20, 2012 at 1:33 PM, Tim Mooney wrote: > In regard to: Re: [Puppet Users] Dynamic Lookup of facter variable., > Nigel...: > > >> On Sun, Aug 19, 2012 at 8:00 PM, Douglas Garstang >> wrote: >>> >>> Oh god that's ugly. >>

Re: [Puppet Users] Dynamic Lookup of facter variable.

2012-08-20 Thread Tim Mooney
In regard to: Re: [Puppet Users] Dynamic Lookup of facter variable., Nigel...: On Sun, Aug 19, 2012 at 8:00 PM, Douglas Garstang wrote: Oh god that's ugly. Yes it is, and it was an unwitting bug with the deprecation warning that is resolved in later versions. Facts were supposed to be

Re: [Puppet Users] Dynamic Lookup of facter variable.

2012-08-20 Thread Nigel Kersten
On Sun, Aug 19, 2012 at 8:00 PM, Douglas Garstang wrote: > Oh god that's ugly. Yes it is, and it was an unwitting bug with the deprecation warning that is resolved in later versions. Facts were supposed to be able to be referenced as $factname without throwing the deprecation warning in your rel

Re: [Puppet Users] Dynamic Lookup of facter variable.

2012-08-19 Thread Douglas Garstang
Oh god that's ugly. On Sun, Aug 19, 2012 at 7:48 PM, Eric Shamow wrote: > Facts exist at top scope, as indicated in the scoping doc several people have > referred you to on this list. Use $::ec2_instance_type > > Sent from my iPad > > On Aug 19, 2012, at 10:44 PM, Douglas Garstang > wrote: >

Re: [Puppet Users] Dynamic Lookup of facter variable.

2012-08-19 Thread Eric Shamow
Facts exist at top scope, as indicated in the scoping doc several people have referred you to on this list. Use $::ec2_instance_type Sent from my iPad On Aug 19, 2012, at 10:44 PM, Douglas Garstang wrote: > I don't get it... > >if ! ( $ec2_instance_type in [$ec2_inst_type_allow]) { >