hi hyde,
   You don't need to convert facter string into integer before comparing to 
integer value, puppet internally take care of it.
I just checked it on open source puppet version - 2.7.12 and puppet 
enterprise version - 2.7.  


On Monday, August 5, 2013 8:38:09 PM UTC+5:30, hyde wrote:

> It seems this statement is working for latest puppet+facter: 
> if($::processorcount>25). 
>
> Before there was concern that puppet would not auto convert string to 
> number, is this still a concern here? 
>
> I am wondering if I should convert the facter string value to integer 
> first before comparing it .. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to