beyonddc.storage@gmail.com
2013-Oct-24 14:49 UTC
[Puppet Users] Why there is a need for the architecture fact when it is only using hardwaremodel fact?
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+unsubscribe@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.
Daniele Sluijters
2013-Oct-25 18:45 UTC
[Puppet Users] Re: Why there is a need for the architecture fact when it is only using hardwaremodel fact?
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+unsubscribe@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.
beyonddc.storage@gmail.com
2013-Oct-28 16:40 UTC
[Puppet Users] Re: Why there is a need for the architecture fact when it is only using hardwaremodel fact?
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+unsubscribe@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.