puppetlabs-stdlib/spec
Colleen Murphy 25410c4598 Let load_module_metadata succeed on empty file
Some modules or module versions don't have a metadata.json file, but we
might still want to use the load_module_metadata function on them. The
lack of a file can still give us important information. For example, it
might tell us that the version of the module installed is "very old"
even if we can't read the version number directly. This patch adds a
parameter to let the user specify if an empty file is acceptable. To
preserve backwards compatibility it does not change the current default
behavior, which is to raise an error if metadata.json does not exist.
2015-10-14 16:16:01 -07:00
..
acceptance Added acceptance test and updated readme 2015-09-28 16:18:56 +01:00
fixtures (MODULES-2478) Support root_home fact on AIX through "lsuser" command 2015-08-28 15:21:13 +01:00
functions Let load_module_metadata succeed on empty file 2015-10-14 16:16:01 -07:00
monkey_patches Add the missing shebangs and fix the wrong ones for rpmlint to stop complaining loudly 2014-05-07 11:49:25 +02:00
unit Add package_provider fact 2015-09-25 17:55:21 -07:00
puppetlabs_spec_helper_clone.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
spec.opts Copied function test scaffolding from puppet. 2011-06-29 12:25:43 +01:00
spec_helper.rb Remove unused puppet_spec code 2015-06-01 18:02:22 +01:00
spec_helper_acceptance.rb Update is_a acceptance tests to only run on puppet4 2015-09-21 14:12:25 -07:00