Public bug reported:

Facter will report the wrong operatingsystem when queried from a puppet
agent run.

To demonstrate this:
  $ irb
  irb(main):001:0> require 'facter'
  => true
  irb(main):002:0> Facter.version
  => "1.5.9"
  irb(main):003:0> Facter["operatingsystem"].value
  => "Ubuntu"
  irb(main):004:0> Facter.clear
  => nil
  irb(main):005:0> Facter["operatingsystem"].value
  => "Debian"
  irb(main):006:0> 

This has been fixed upstream in Facter 1.6.0+.
  % RUBYLIB=`pwd`/lib irb
  >> require 'facter'
  > true
  >> Facter.version
  > "1.6.0"
  >> Facter["operatingsystem"].value
  > "Ubuntu"
  >> Facter.clear
  > nil
  >> Facter["operatingsystem"].value
  > "Ubuntu"

For the upstream bug see: http://projects.puppetlabs.com/issues/7670

** Affects: facter (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/876130

Title:
  Incorrect operatingsystem reported in puppet run

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/facter/+bug/876130/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to