I'm testing 2.7.3 and getting a lot of these:
warning: Dynamic lookup of $operatingsystem at
/etc/puppet/modules/foo/manifests/bar.pp:36 is deprecated. Support will
be removed in Puppet 2.8. Use a fully-qualified variable name (e.g.,
$classname::variable) or parameterized classes.
On Thu, Aug 18, 2011 at 9:06 AM, Darren Chamberlain dar...@boston.comwrote:
I'm testing 2.7.3 and getting a lot of these:
warning: Dynamic lookup of $operatingsystem at
/etc/puppet/modules/foo/**manifests/bar.pp:36
is deprecated. Support will be removed in Puppet 2.8. Use a
On 8/18/2011 12:08 PM, Gary Larizza wrote:
On Thu, Aug 18, 2011 at 9:06 AM, Darren Chamberlain dar...@boston.com wrote:
$operatingsystem is a facter variable, of course. How are these
supposed to be referenced?
They're referenced like this: $::operatingsystem
This works, thanks.
While I
Agreed, facts are the one thing that really should be global IMHO.
On Aug 18, 2011 9:39 AM, Darren Chamberlain dar...@boston.com wrote:
On 8/18/2011 12:08 PM, Gary Larizza wrote:
On Thu, Aug 18, 2011 at 9:06 AM, Darren Chamberlain dar...@boston.com
wrote:
$operatingsystem is a facter
Aaron Grewell wrote :
Agreed, facts are the one thing that really should be global IMHO.
I'd settle for anything short. If %= ::factname % could have worked,
it would have been fine by me.
What's the official best practice going to be for facts inside
templates with puppet 2.7+? lookupvar all