mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Literal braces in this string.
This commit is contained in:
parent
001a804140
commit
cc9e71840a
@ -275,7 +275,7 @@ def list_pkgs(regex_string=""):
|
||||
salt '*' pkg.list_pkgs httpd
|
||||
'''
|
||||
ret = {}
|
||||
cmd = 'dpkg-query --showformat=\'${Status} ${Package} ${Version}\n\' -W {0}'.format(regex_string)
|
||||
cmd = 'dpkg-query --showformat=\'${{Status}} ${{Package}} ${{Version}}\n\' -W {0}'.format(regex_string)
|
||||
|
||||
out = __salt__['cmd.run_stdout'](cmd)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user