Hi,

I want some config depending on memorysize.

What I tried was
  if ($memorysize >= 256 * 1024*1024) {
...
  }

But this fails because $memorysize is a string (and contains a "G") and can't be compared to an int.

Are all facts strings? How do I work with numbers?

regards, Andreas

--
Andreas Kuntzagk
SystemAdministrator
MDC Berlin / BIMSB
Tel.: +49 30 9406 2997

--
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.

Reply via email to