Issue #7670 has been reported by Ken Bowley.
----------------------------------------
Bug #7670: operatingsystem fact incorrect after clear on Ubuntu
https://projects.puppetlabs.com/issues/7670
Author: Ken Bowley
Status: Unreviewed
Priority: Urgent
Assignee:
Category:
Target version:
Keywords:
Branch:
Affected Facter version: 1.5.8
Facter returns incorrect facts for "operatingsystem" and
"operatingsystemrelease" after Facter.clear is called when running on Ubuntu.
$ irb
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'facter'
=> true
irb(main):003:0> Facter["operatingsystem"].value
=> "Ubuntu"
irb(main):004:0> Facter.clear
=> nil
irb(main):005:0> Facter["operatingsystem"].value
=> "Debian"
This causes puppet to report the wrong operatingsystem, and breaks many
manifests on our current deployment.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.