Displaying 1 result from an estimated 1 matches for "function_hash2text".
2013 Sep 17
1
Run a custom function through the ruby debugger
...e steps on the documentation:
irb(main):001:0> require ''puppet''
>
> => true
>
> irb(main):002:0> require ''phash2text.rb''
>
> => true
>
> irb(main):003:0> Puppet::Parser::Functions.function(:hash2text)
>
> => "function_hash2text"
>
> irb(main):004:0> function_hash2text
>
> NameError: undefined local variable or method `function_hash2text'' for
>> main:Object
>
> from (irb):4
>
> from :0
>
>
But how can I actually execute the function?
Thanks,
Andrea
--
You received...