[Puppet Users] Re: Why there is a need for the architecture fact when it is only using hardwaremodel fact?

2013-10-28 Thread beyonddc . storage
Got it, thank you very much

On Friday, October 25, 2013 2:45:31 PM UTC-4, Daniele Sluijters wrote:

 Hi,

 It doesn't only use hardwaremodel fact:

 https://github.com/puppetlabs/facter/blob/master/lib/facter/architecture.rb#L6:L10
 # Resolution:
 #   On non-AIX IBM, OpenBSD, Linux and Debian's kfreebsd, use the 
 hardwaremodel fact.
 #   On AIX get the arch value from lsattr -El proc0 -a type
 #   Gentoo and Debian call x86_86 amd64.
 #   Gentoo also calls i386 x86.

 -- 
 Daniele Sluijters

 On Thursday, 24 October 2013 16:49:57 UTC+2, beyonddc...@gmail.com wrote:

 Hi all, hopefully this is a quick question.  I would like to know why 
 there is a need for the architecture fact when it is only using 
 hardwaremodel fact?

 Thanks!



-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Re: Why there is a need for the architecture fact when it is only using hardwaremodel fact?

2013-10-25 Thread Daniele Sluijters
Hi,

It doesn't only use hardwaremodel fact:
https://github.com/puppetlabs/facter/blob/master/lib/facter/architecture.rb#L6:L10
# Resolution:
#   On non-AIX IBM, OpenBSD, Linux and Debian's kfreebsd, use the 
hardwaremodel fact.
#   On AIX get the arch value from lsattr -El proc0 -a type
#   Gentoo and Debian call x86_86 amd64.
#   Gentoo also calls i386 x86.

-- 
Daniele Sluijters

On Thursday, 24 October 2013 16:49:57 UTC+2, beyonddc...@gmail.com wrote:

 Hi all, hopefully this is a quick question.  I would like to know why 
 there is a need for the architecture fact when it is only using 
 hardwaremodel fact?

 Thanks!


-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.