On Thu, Aug 9, 2012 at 1:45 PM, j4m3s <[email protected]> wrote: > I only just noticed this, but I was actually modifying your gist KW to add > the puppet:/// parsing. I've forked it but can't see how to create a > pull-request for it (I'm fairly new to gihub I'm afraid). > > Anyway, for anyone else wanting the function I've posted it here: > https://gist.github.com/3307835. > > The next limitation is that it doesn't resolve template paths. That should > probably be in a separate function anyway.
I just notice Dan contributed something very similar that's much more generic to stdlib: https://github.com/puppetlabs/puppetlabs-stdlib/blob/master/lib/puppet/parser/functions/get_module_path.rb Thanks, Nan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
