Issue #7670 has been updated by Jacob Helwig.

So, Nick and I have been investigating this further, and the "Ubuntu, clear, 
Debian" behavior goes back to 1.5.4.  In 1.5.3, I get "Debian, clear, Debian" 
when using Facter in irb as in the original reproduction steps.

Ken, what version of Puppet are you using?
----------------------------------------
Bug #7670: operatingsystem fact incorrect after clear on Ubuntu
https://projects.puppetlabs.com/issues/7670

Author: Ken Bowley
Status: Accepted
Priority: Immediate
Assignee: 
Category: library
Target version: 
Keywords: 
Branch: 
Affected Facter version: 1.5.9


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.

Reply via email to