Hi, > What is the proper way to check if something is numeric?
Starting with Puppet 4 you can define parameters of classes and defines with a data type. class myclass( Integer $subsetting ) IMHO this is the prefered way to "check" the type of a variable. You can also specify the range of the allowed values [1]. [1] https://puppet.com/docs/puppet/5.5/lang_data_number.html#the-integer-data-type -- -- *Sebastian Hempel* Veilchenweg 4 · 95195 Röslau · Germany eMail: [email protected] Google+: http://gplus.to/ithempel -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/1f78a68e-c2c5-1411-6c02-115cc7819ac7%40gmail.com. For more options, visit https://groups.google.com/d/optout.
