Hi
> Why can't I access $memory like other variables? From where does the
> value I do get come from?
it looks like memory is somehow a special variable (dunno why), but if
you don't name your variable memory, it works.
maybe report a bug report if nobody comes up with a reason why memory is
special (it's not a facter value!) and name your variable so long different.
The following example works fine:
$memory_foo = 123
notice("$memory_foo")
file { "/tmp/test.txt":
content => inline_template("memory = <%= memory_foo %>\n");
}
cheers pete
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---