Merge pull request #42669 from garethgreenaway/42642_2016_11_augeas_module_fix

[2016.11] Fixes to augeas module
This commit is contained in:
Mike Place 2017-08-06 12:58:02 -05:00 committed by GitHub
commit 7b2119feee

View file

@ -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)
parts = salt.utils.shlex_split(arg, posix=False)
if len(parts) not in nargs:
err = '{0} takes {1} args: {2}'.format(method, nargs, parts)