Issue #4980 has been updated by James Turnbull.
Status changed from Ready For Testing to Code Insufficient
Failing test:
Failures:
1) Architecture fact should be amd64 if os is Ubuntu and hardwaremodel is
x86_64
Failure/Error: Facter.fact(:architecture).value.should == result
expected: "amd64"
got: "x86_64" (using ==)
# ./spec/unit/architecture_spec.rb:39
Finished in 5.52 seconds
383 examples, 1 failure
----------------------------------------
Bug #4980: Darwin doesn't show architecture fact
https://projects.puppetlabs.com/issues/4980
Author: Nathan Rich
Status: Code Insufficient
Priority: Low
Assignee: James Turnbull
Category: library
Target version: 1.6.0
Keywords:
Branch: https://github.com/mkincaid/facter/tree/ticket/next/4980
lib/facter/architecture.rb:
Facter.add(:architecture) do
confine :kernel => :openbsd
setcode do
architecture = Facter.value(:hardwaremodel)
end
end
change to
Facter.add(:architecture) do
confine :kernel => [:openbsd, :darwin]
setcode do
architecture = Facter.value(:hardwaremodel)
end
end
--
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.