Add quotes to the ruby script location

Without this patch, if the ruby script is located in a path with
spaces, it will not work.
This commit is contained in:
Luis Fernandez Alvarez 2014-06-18 09:09:47 +02:00
parent f70881fbfd
commit da59390ed2

View file

@ -42,7 +42,7 @@ class concat::setup {
$script_mode = $::osfamily ? { 'windows' => undef, default => '0755' }
$script_command = $::osfamily? {
'windows' => "ruby.exe ${script_path}",
'windows' => "ruby.exe '${script_path}'",
default => $script_path
}