Hi all, I have things working such that I can call #init.pp $myvar = my_custom_func("arguments") file { "/tmp/foo": content => template("mymodule/test_template.erb") } # test_template.erb <%= myvar %> And all is well. However, I''d ideally like to say: #init.pp $myvar = "some_key_value" file { "/tmp/foo": content => template("mymodule/test_template.erb") } # test_template.erb <%= my_custom_func($myvar) %> I found this: http://serverfault.com/questions/34642/call-puppet-function-from-puppet-template Which showed how to call ''puppet core functions'', like <%= scope.function_template("mymodule/othertemplate.erb") %> which is kind of cool, but.... scope.function_mycustomfunction doesn''t seem to work. Any magical invocation that will make it work? Thanks, Josh --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---