mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
parent
34ac8a91bc
commit
855fd9f054
@ -1745,7 +1745,7 @@ def owner(*paths):
|
||||
if not paths:
|
||||
return ''
|
||||
ret = {}
|
||||
cmd = 'rpm -qf --queryformat "%{NAME}" {0!r}'
|
||||
cmd = 'rpm -qf --queryformat "%{{NAME}}" {0!r}'
|
||||
for path in paths:
|
||||
ret[path] = __salt__['cmd.run_stdout'](cmd.format(path),
|
||||
output_loglevel='trace')
|
||||
|
Loading…
Reference in New Issue
Block a user