[Puppet Users] Re: puppet custom function throwing private gsub error

2014-02-14 Thread kashif
Hi John Thanks a lot. I misunderstood 'arguments' as an array of elements rather than array of 'arguments'. Cheers Kashif On Thursday, February 13, 2014 3:33:26 PM UTC, jcbollinger wrote: On Wednesday, February 12, 2014 7:21:30 AM UTC-6, kashif wrote: I have written a small custom

[Puppet Users] Re: puppet custom function throwing private gsub error

2014-02-13 Thread jcbollinger
On Wednesday, February 12, 2014 7:21:30 AM UTC-6, kashif wrote: I have written a small custom function to replace '.' to '_' of all element of an array and return an converted array. module Puppet::Parser::Functions newfunction(:convert_vo, :type = :rvalue, :doc = -'ENDOFDOC' This

[Puppet Users] Re: puppet custom function throwing private gsub error

2014-02-12 Thread Rafael Cristaldo
Em quarta-feira, 12 de fevereiro de 2014 11h21min30s UTC-2, kashif escreveu: I have written a small custom function to replace '.' to '_' of all element of an array and return an converted array. module Puppet::Parser::Functions newfunction(:convert_vo, :type = :rvalue, :doc =

[Puppet Users] Re: puppet custom function throwing private gsub error

2014-02-12 Thread kashif
Hi Rafael Yes, I have setup all paths correctly. I have other custom functions which are working. Thanks Kashif On Wednesday, February 12, 2014 2:15:19 PM UTC, Rafael Cristaldo wrote: Em quarta-feira, 12 de fevereiro de 2014 11h21min30s UTC-2, kashif escreveu: I have written a small