Issue #4980 has been updated by n4th4n r1ch.

should have mentioned the issue: darwin doesn't have the architecture, instead 
having hardwaremodel. it should have architecture, which can come from 
hardwaremodel like it does with openbsd
----------------------------------------
Bug #4980: Darwin doesn't show architecture fact
http://projects.puppetlabs.com/issues/4980

Author: n4th4n r1ch
Status: Unreviewed
Priority: Low
Assignee: 
Category: 
Target version: 
Keywords: 
Branch: 


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.

Reply via email to