Hi,

I want to get the version of a module (as it appears in metadata.json 
<https://puppet.com/docs/puppet/latest/modules_metadata.html>) to use 
inside the Puppet module.
Is there any variable/fact/function with which I can do this easily?

A previous question 
<https://ask.puppet.com/question/26188/how-to-use-puppet-module-version-in-the-manifest/>
 on 
ask.puppet.com suggests just accessing and parsing the json file, but I 
would like to avoid that if possible.

Thank you in advance,
Yours,
Pablo 

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/4a69426f-740b-4d67-9a7a-cc028e37022f%40googlegroups.com.

Reply via email to