[Bug 876130] [NEW] Incorrect operatingsystem reported in puppet run
Jacob Helwig
jacob at technosorcery.net
Mon Oct 17 01:47:43 UTC 2011
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
Server Team, which is subscribed to facter in 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
More information about the Ubuntu-server-bugs
mailing list