Hi Krzysztof,

>> I guess the question boils down to: Is there a way to cast from Fixnum
>> to String?
>
> Yes, look below :)

Excellent!

> Take a look on this:
>
> https://github.com/kwilczynski/puppet-functions/blob/master/lib/puppet/parser/functions/num2str.rb
>
> And this:
>
> https://github.com/kwilczynski/puppet-functions/blob/master/lib/puppet/parser/functions/type.rb
>
> I hope it helps a little :)

Yes, thank you very much!

This looks like a good addition for puppet-stdlib, no?

Thanks for taking the time to answer.

Cheers,
Lars

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