puppetlabs-stdlib/spec
David Schmitt 35b5d6bcc1 Allow package_provider fact to resolve on PE 3.x
PE 3.x emits a puppetversion fact in the format "3.x.x (Puppet Enterprise 3.x.x)". This fact causes an error when invoked on PE 3.x: Could not retrieve fact='package_provider', resolution='<anonymous>': Malformed version number string 3.8.1 (Puppet Enterprise 3.8.1

This fix has been tested on PE 3.8.2 and should work for PE 3.3, 3.7, and 3.8.

Original-fix-by: Alex Harden <aharden@gmail.com>
2015-12-18 17:38:04 +00:00
..
acceptance (FM-3802) make ensure_resource test of packages 2015-12-17 13:50:15 +00:00
fixtures (MODULES-2478) Support root_home fact on AIX through "lsuser" command 2015-08-28 15:21:13 +01:00
functions (#2886) seeded_rand: new function 2015-12-08 14:59:12 +01: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 Allow package_provider fact to resolve on PE 3.x 2015-12-18 17:38:04 +00: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