You can use my winfacts module, or just strip out the os_archtecture fact
from it:
https://github.com/adenning/winfacts/blob/master/lib/facter/os_architecture.rb
That will correctly handle 32-bit OS on 64-bit hardware.
Adam
On Tuesday, November 27, 2012 5:04:47 AM UTC-6, r0k5t4r wrote:
Hi Josh,
thanks a lot for pointing this out. I will update the install on all
windows machines to the latest puppet 2.7.x release. This updates facter
and the architecture is correctly display unless it's running 32Bit on
64Bit hardware.
Regards,
Oliver
--Hi Josh,
thanks a lot for pointing this out. I will update the install on all
windows machines to the latest puppet 2.7.x release. This updates facter
and the architecture is correctly display unless it's running 32Bit on
64Bit hardware.
Regards,
Oliver
On Monday, November 26, 2012 6:36:20 PM UTC+1, Josh Cooper wrote:
Hi Oliver,
hardwaremodel. See http://projects.puppetlabs.com/issues/10261.
However, there is still a bug where a 32-bit OS running on 64-bit
hardware is reported as 64 instead of 32. See
https://projects.puppetlabs.com/issues/16948. As a result, you may
need to do something like:
https://github.com/puppetlabs/puppetlabs-dism/blob/master/lib/puppet/provider/dism/dism.rb#L7
Josh
--
Josh Cooper
Developer, Puppet Labs
Hi Oliver,
On Wed, Nov 21, 2012 at 8:08 AM, r0k5t4r wrote:
I just started using puppet agent on windows 32Bit and my manfiests are
working good so far. Now when using the same manifests on a 64Bit Windows
machine I get trouble about the very special Program Files path. :(
Facter 1.6.10 will correctly report 32-bit or 64-bit architecture andI just started using puppet agent on windows 32Bit and my manfiests are
working good so far. Now when using the same manifests on a 64Bit Windows
machine I get trouble about the very special Program Files path. :(
hardwaremodel. See http://projects.puppetlabs.com/issues/10261.
However, there is still a bug where a 32-bit OS running on 64-bit
hardware is reported as 64 instead of 32. See
https://projects.puppetlabs.com/issues/16948. As a result, you may
need to do something like:
https://github.com/puppetlabs/puppetlabs-dism/blob/master/lib/puppet/provider/dism/dism.rb#L7
Josh
--
Josh Cooper
Developer, Puppet Labs
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/NPjtaYgZJfIJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.