Issue #12980 has been updated by Josh Cooper.

Category set to windows
Status changed from Unreviewed to Accepted
Assignee set to Josh Cooper
Target version set to 2.7.x
Affected Puppet version set to 2.7.6

Puppet should provide a method that given a path will see if the `sysnative` 
version of it exists, and if so, use that. Otherwise, fallback to `system32`. 
For example, the exec provider on windows should call that to resolve the 
windows system path for 64-bit versions of cmd.exe, powershell.exe, etc.
----------------------------------------
Bug #12980: Puppet on Windows execute search 32bit path first
https://projects.puppetlabs.com/issues/12980#change-56592

Author: Nan Liu
Status: Accepted
Priority: Normal
Assignee: Josh Cooper
Category: windows
Target version: 2.7.x
Affected Puppet version: 2.7.6
Keywords: windows, 32bit, 64bit
Branch: 


Because ruby is a 32bit process, it searches 32bit path first, which 
unfortunately is typically the wrong binary on 64bit servers:

    "You cannot service a running 64-bit operating system with a 32-bit version 
of DISM.
    Please use the version of DISM that corresponds to your computer's 
architecture."


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

Reply via email to