[Puppet Users] Getting Puppet module version

2020-05-25 Thread 'Tim Meusel' via Puppet Users
Hi, puppetlabs-stdlib has a function to parse the metadata: https://github.com/puppetlabs/puppetlabs-stdlib/blob/master/REFERENCE.md#load_module_metadata cheers, Tim -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this grou

[Puppet Users] Getting Puppet module version

2020-05-25 Thread 'Pablo Baeyens' via Puppet Users
Hi, I want to get the version of a module (as it appears in metadata.json ) to use inside the Puppet module. Is there any variable/fact/function with which I can do this easily? A previous question