On Thu, Mar 29, 2012 at 11:50 PM, Pablo Fernandez <pablo.fernan...@cscs.ch>wrote:
> Hi, > > It looks like range("host01", "host99") works fine, returning [ "host01", >> "host02", ..., "host98", "host99" ] >> >> Is this what you're looking for, or is it an issue only if the leading >> portion of the string is zero padded? >> > > This is exactly what I was looking for, which indeed is much nicer than > doing prefix(range(blabla)). > > In any case, I still don't see the reason for the artificial type change > inside that function, but anyway... > The function isn't actually doing the type change. Puppet itself massages strings that look like integers into actual integers. -Jeff -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.