Re: [Puppet Users] Getting Puppet module version

2020-05-26 Thread 'Pablo Baeyens' via Puppet Users
Just what I was looking for, thank you! On Tue, May 26, 2020 at 8:03 AM 'Tim Meusel' via Puppet Users < puppet-users@googlegroups.com> wrote: > Hi, > puppetlabs-stdlib has a function to parse the metadata: > https://github.com/puppetlabs/puppetlabs-stdlib/blob/master/REFERENCE.md#load_module_meta

[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