puppetlabs-stdlib/spec/unit/facter
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
..
util Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
facter_dot_d_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:37:45 -04:00
package_provider_spec.rb Allow package_provider fact to resolve on PE 3.x 2015-12-18 17:38:04 +00:00
pe_version_spec.rb Add check to ensure regex does not throw for none type. 2015-10-15 11:27:03 -05:00
root_home_spec.rb (FM-3773) Fix root_home fact on AIX 5.x 2015-11-19 15:44:52 -08:00
service_provider_spec.rb Add a service_provider fact 2015-08-19 15:05:47 -07:00