On Thursday, October 17, 2013 8:21:28 AM UTC-5, Sans wrote: > > It's strange: whatever I do I can't go past these error. Either it cannot > recognize the function or fails with single array error. Still don't > understand what I'm missing. Cheers!! > > > On Thursday, October 17, 2013 1:34:26 AM UTC+1, 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!! >> >
What if you use $h = am_running_oss(1) (or replace the 1 with any other value)? Puppet shouldn't break when the argument list is empty, but perhaps you've stumbled on a bug. John -- 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.