Issue #16948 has been updated by Matthaus Owens.

Status changed from Merged - Pending Release to Closed

Released in Facter 1.7.0

----------------------------------------
Bug #16948: Facter hardwaremodel windows issue
https://projects.puppetlabs.com/issues/16948#change-89619

* Author: Matt Parry
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: windows
* Target version: 1.7.0
* Keywords: windows hardwaremodel architecture x64 x86 i386 i686
* Branch: https://github.com/puppetlabs/facter/pull/403
* Affected Facter version: 1.6.10
----------------------------------------
Hi,

Firstly I am ware of this fix 
https://github.com/puppetlabs/facter/commit/478386d24bb0d5c8494724d44f2e72c26ab4d4ff
 for windows to detect x64 architecture. This is tested on Facter ver:1.6.10

I found on one of my VMWare machines that it was setting 
Win32_Processor.Architecture = 9 (AMD64) when in fact it was Windows 2008 
32Bit. From what I understand this value shows how the operating system 
interrupts the processor architecture but this should still show 
Win32_Processor.Architecture = 0 (INTEL) when a 32Bit OS is running on a 64Bit 
CPU.
If this is true, then it leads me to believe it maybe a bug with VMWare and how 
it interprets the CPU?

My question is, has this been highlighted previously and also I have been 
looking into the Win32_Processor class and see that AddressWidth could be a 
better candidate to detect 32/64 Bit OS's in facter?

AddressWidth
    Data type: uint16
    Access type: Read-only
    On a 32-bit operating system, the value is 32 and on a 64-bit operating 
system it is 64. This property is inherited from CIM_Processor.



-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to