I have a utils module that contains common utilities. Most are defined 
types.

However, I've just added the first custom function in 
utils/lib/puppet/parser/functions/basename.rb .

It seems this cannot be referenced in the intuitive fashion from another 
module, namely:

  utils::basename(args)

Is it possible to call a custom function from another module? If so, what 
is the syntax? If not, is there a workaround besides copying the custom 
function to the referencing module?

Sincere thanks,

David

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/4TtDJEfErnIJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to