Hi Marcus, On Tue, Jun 5, 2012 at 6:26 PM, Markus Falb <markus.f...@fasel.at> wrote: > On 4.6.2012 18:42, Josh Cooper wrote: >> We recently fixed the hardwaremodel and architecture facts on Windows >> as they were always returning i386[1]. The change will be in the >> upcoming 1.6.10 release of Facter[2]. The new behavior is that >> hardwaremodel will return something like i686, ia64, x64, etc, while >> the architecture fact will return either x86 or x64.
I actually misspoke here. The architecture fact would either be x86 or the underlying hardwaremodel. On the example hardware you gave you'd see: architecture => x64 hardwaremodel => x64 But if the hardwaremodel was i686 you'd see: architecture => x86 hardwaremodel => i686 >> >> Since the new behavior will likely affect puppet users that are trying >> to write manifests to select the appropriate package architecture, I'm >> writing to get feedback on this. In particular, is 'x64' the least >> surprising option? Some examples where this x64 is used: >> >> Windows Server x64 >> splunk-4.2.4-110225-x64-release.msi >> java_ee_sdk-6u4-jdk7-windows-x64.exe >> >> Or would you expect the architecture to be 'amd64' or 'x86_64'? > > I don't use puppet on windows user (yet), but I would expect that fact > values were consistent across operatingsystems. > > On a 64 bit amd cpu with linux I get > > $ facter hardwaremodel architecture > architecture => x86_64 > hardwaremodel => x86_64 So that's the thing... On "Debian", "Gentoo", "GNU/kFreeBSD", "Ubuntu", facter would report your architecture as 'amd64' [1][2][3] I think it really comes down to what does the system report its architecture to be, and have facter match that. Doing so enables things like: package { "splunk": ensure => "installed", source => "N:\\software\\splunk-4.2.4-110225-${::architecture}-release.msi", } With that said, I have seen both x64 and amd64 packages for Windows, and less so x86_64. Just a random sampling, but ActivePython has downloads for Linux x86_64 and Windows x64 (ActivePython-2.7.2.5-win64-x64.msi). By no means conclusive, but I'd love to have more data points. Josh [1] http://projects.puppetlabs.com/issues/11511 [2] http://projects.puppetlabs.com/issues/4980 [3] http://projects.puppetlabs.com/issues/6470 -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.