Revision b446e0ce
Added by Dmitri Dolguikh almost 9 years ago
modules/puppet_proxy/customrun.rb | ||
---|---|---|
return false
|
||
end
|
||
|
||
shell_command( [ escape_for_shell(cmd), Proxy::Puppet::Plugin.settings.customrun_args, shell_escaped_nodes ] )
|
||
customrun_args = (a = Proxy::Puppet::Plugin.settings.customrun_args).is_a?(Array) ? a : a.split(' ')
|
||
shell_command(([escape_for_shell(cmd), customrun_args] + shell_escaped_nodes).flatten)
|
||
end
|
||
end
|
Also available in: Unified diff
Fixes #10940: puppetrun works properly now on ruby > 1.8.7