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.
>
> $memory is a fact containing amount of memory on the client.
hmm I thought that, but this one isn't displayed with facter:
# facter | grep memory
memoryfree => 933.89 MB
memorysize => 3.36 GB
and if I do:
# cat foo.pp
notice("$memory")
notice(inline_template("<%= memory %>"))
# puppet foo.pp
notice: Scope(Class[main]):
notice: Scope(Class[main]): 36312
I don't understand the difference.
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
-~----------~----~----~----~------~----~------~--~---