On Wednesday, October 16, 2013 7:34:26 PM UTC-5, Sans wrote: > > Not sure if it's important: the line number in the error message points to > the line in the .pp file where "$h = am_running_oss()" is defines. If I > change that line with "am_running_oss_hash('/tmp/OSs.txt')" it works just > fine. Cheers!! > >
Be sure to restart your master after modifying any custom functions. If you have not done so, then the master might not see the changes. The error you posted should arise only in the context of a native plugin trying to call a Puppet function, and the only place where your code does that is this line: oss = function_am_running_oss_hash(['/tmp/OSs.txt']) That is correct as it stands, but if a previous version of the code omitted the square brackets then it would cause such an error. John > > > > On Wednesday, October 16, 2013 10:37:19 PM UTC+1, Cristian Falcas wrote: >> >> sorry, i didn't see that you already did that. I will try to respond >> again more meaningful in the morning >> >> >> -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.