Issue #12980 has been updated by Josh Cooper.
swolf brought up the point that there are times when you really do want the 32-bit version of powershell <http://www.puppetlogs.com/puppet/%23puppet-2012-06-14.log.html> <pre> [2012/06/14 18:20:16] <swolf> jmccune: yessir. and give pk access to user accounts, and perhaps even netsh commands to attach to url [2012/06/14 18:20:24] <swolf> like this: http://msdn.microsoft.com/en-us/library/ms733791.aspx [2012/06/14 18:21:40] <swolf> import pfx is something like this [2012/06/14 18:21:41] <swolf> http://www.orcsweb.com/blog/james/powershell-ing-on-windows-server-how-to-import-certificates-using-powershell/ </pre> I think we do want to prefer 64-bit executables when an relative path is specified, but still be able to execute 32-bit code via absolute path: <pre> $path = "#{ENV['SYSTEMROOT']}\\system32\\powershell.exe" </pre> ---------------------------------------- Bug #12980: Puppet on Windows execute search 32bit path first https://projects.puppetlabs.com/issues/12980#change-65335 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, redirection, syswow64 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.
