]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
Add load_metadata_json function
authorSpencer Krum <nibz@spencerkrum.com>
Thu, 9 Jul 2015 17:53:56 +0000 (10:53 -0700)
committerSpencer Krum <nibz@spencerkrum.com>
Thu, 30 Jul 2015 22:51:54 +0000 (15:51 -0700)
commitf411ee7119cab1277baffee2fe2b2f978f402072
treed9037eedae96fc42c18c525a12574b5ac4f75c76
parent1282649b91b482dd547b674f4d52af166a5eab69
Add load_metadata_json function

This function loads the metadata.json into a puppet variable. This enables a number of neat things such as:

* Which version of the module am I using? 2.x? 3.x?
* Which author of the module am I using? puppetlabs? example42?
README.markdown
lib/puppet/parser/functions/load_module_metadata.rb [new file with mode: 0644]
spec/functions/load_module_metadata.rb [new file with mode: 0755]