puppetlabs-stdlib/lib/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 (#13091) Fix LoadError exception with puppet apply 2012-03-13 16:44:21 -07:00
facter_dot_d.rb (FM-2130) Document new location of facts.d cache 2015-05-11 11:12:15 -07:00
package_provider.rb Allow package_provider fact to resolve on PE 3.x 2015-12-18 17:38:04 +00:00
pe_version.rb Add check to ensure regex does not throw for none type. 2015-10-15 11:27:03 -05:00
puppet_vardir.rb (#13091) Fix LoadError exception with puppet apply 2012-03-13 16:44:21 -07:00
root_home.rb (FM-3773) Fix root_home fact on AIX 5.x 2015-11-19 15:44:52 -08:00
service_provider.rb fixup-PR#506 Speed improvements in facter resolution 2015-09-25 18:06:00 -07:00