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.c
Hi Lars,
[...]
> It would be nice for a plain Integer (Fixnum) to work as well when
> it's coming from a YAML file.
When you introduce a numeric value through the manifest, then Puppet
will do the right thing during parsing it, but when you introduce
Integer or Float from Hiera, then you will get