Issue #8660 has been updated by Josh Cooper.
Btw, [%x](http://ruby-doc.org/core/classes/Kernel.html#M001408) does not work when the command is located in a directory with a space. For example, msysgit is installed in C:\Program Files (x86)\Git. If I add C:\Program Files (x86)\Git\bin to my PATH it fails: <pre> Z:\work\puppet>set PATH="c:\Program Files (x86)\Git\bin";%PATH% Z:\work\puppet>ruby -e "puts `git rev-parse HEAD`" -e:1:in ``': No such file or directory - git rev-parse HEAD (Errno::ENOENT) </pre> But setting the path using short names works: <pre> set PATH=c:\progra~2\git\bin;%PATH% Z:\work\puppet>ruby -e "puts `git rev-parse HEAD`" 922edb28d2eeeea7812b02c7064bc5930aa1aaa5 </pre> ---------------------------------------- Bug #8660: Puppet and facter install should have reasonable defaults on Windows https://projects.puppetlabs.com/issues/8660 Author: Josh Cooper Status: Accepted Priority: Normal Assignee: Category: windows Target version: Telly Affected Puppet version: Keywords: Branch: The puppet and facter install.rb scripts default to directories such as /etc/puppet, which probably aren't the correct places on Windows. Also in Puppet::Util::RunMode, it defaults to File.join(Dir::WINDOWS, "puppet", "etc") for the conf dir, which doesn't match the installer. More research is needed to determine what the default values should be. Once decided, the install scripts need to be modified, and any puppet code, e.g. runmode, that makes assumptions about default locations should be updated. -- 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.
