mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Revert "fix augeas module so shlex doesn't strip quotes"
This commit is contained in:
parent
909d519ddb
commit
eb889173b0
@ -199,7 +199,7 @@ def execute(context=None, lens=None, commands=(), load_path=None):
|
||||
method = METHOD_MAP[cmd]
|
||||
nargs = arg_map[method]
|
||||
|
||||
parts = salt.utils.shlex_split(arg, posix=False)
|
||||
parts = salt.utils.shlex_split(arg)
|
||||
|
||||
if len(parts) not in nargs:
|
||||
err = '{0} takes {1} args: {2}'.format(method, nargs, parts)
|
||||
|
Loading…
Reference in New Issue
Block a user