Issue #6865 has been updated by Mohamed Lrhazi.

I still think that safer would be to bypass the shell altogether by using 
IO.popen. I am not comfortable yet with Ruby, nor with mcollective, to try and 
code that.

http://ruby-doc.org/core/classes/IO.html#M000880

    cmd:
    "-"                                      : fork
    commandline                              : command line string which is 
passed to a shell
    [env, cmdname, arg1, ..., opts]          : command name and zero or more 
arguments (no shell)
    [env, [cmdname, argv0], arg1, ..., opts] : command name, argv[0] and zero 
or more arguments (no shell)
    (env and opts are optional.)
----------------------------------------
Feature #6865: Proposed patch to add support to puppetd agent extra command 
line args
https://projects.puppetlabs.com/issues/6865

Author: Mohamed Lrhazi
Status: Code Insufficient
Priority: Normal
Assignee: R.I. Pienaar
Category: 
Target version: 
Keywords: 
Branch: 
Affected mCollective version: 


I am suggesting a patch for puppetd agent, which allows the user to pass 
arbitrary command line arguments to be passed to puppetd.

Please the forked here, branch name: puppetd_options

https://github.com/lrhazi/mcollective-plugins

Thanks.


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