Issue #10799 has been updated by Josh Cooper.

Status changed from Accepted to In Topic Branch Pending Review
Branch set to https://github.com/puppetlabs/puppet/pull/220

Eliminated the need for performing gsub and the issues with escaping 
backreferences, but not other special characters like '.'.
----------------------------------------
Bug #10799: Malformed puppet.bat when ruby path contains "." and "-"
https://projects.puppetlabs.com/issues/10799

Author: Scott Muc
Status: In Topic Branch Pending Review
Priority: Normal
Assignee: Josh Cooper
Category: windows
Target version: 2.7.x
Affected Puppet version: 2.7.6
Keywords: installation
Branch: https://github.com/puppetlabs/puppet/pull/220


This was tested on a blank Windows 2008 R2 VM. Nothing has been setup on it at 
all. I installed ruby using a pet project of mine:
https://github.com/scottmuc/yari

The path to ruby it setup for me is: C:\opt\yari\ruby-1.8.7-p334-i386-mingw32

I've attached the broken puppet.bat that was created for me and attached the 
new puppet.bat I made by removing the slashes. The contents of these files were 
copy+pasted from notepad.exe in the VM to VIM on my workstation so I don't know 
if any line endings or white space got augmented during this process.

My verification that puppet.bat works is that I was able to run `puppet config 
print all` on the server and it printed the config as expected.




-- 
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