molten
molten copied to clipboard
Unable to send argument that contains space
Issue:
Some Arguments require spaces. For example, on cli one would run:
salt '*' net.cli 'show version'
When entering 'show version'
in the "arguments" field on /molten/execute, the space character is used as a delimiter, and the string is expanded into two arguments:
arg: ["'show", "version'"]
client: "local"
expr_form: "glob"
fun: "net.cli"
kwarg: {}
tgt: "*"
Even though the argument string is contained in single quotes. This results in "invalid command" from the proxy minion.
Expected behaviour: Strings contained in quotes are send through as single arguments in quotes:
arg: ["'show version'"]