Set loglevel for cmds with a lot of output to TRACE

This commit is contained in:
Erik Johnson 2014-05-07 11:15:04 -05:00
parent 3542a42812
commit b06ac8d401

View File

@ -550,7 +550,7 @@ def install(name=None, refresh=False, pkgs=None, saltenv='base', **kwargs):
cached_pkg=cached_pkg,
install_flags=install_flags
)
__salt__['cmd.run'](cmd, output_loglevel='debug')
__salt__['cmd.run'](cmd, output_loglevel='trace')
__context__.pop('pkg.list_pkgs', None)
new = list_pkgs()
@ -646,7 +646,7 @@ def remove(name=None, pkgs=None, version=None, extra_uninstall_flags=None, **kwa
cached_pkg)) + '"' + str(pkginfo[version].get('uninstall_flags', '') + " " + (extra_uninstall_flags or ''))
if pkginfo[version].get('msiexec'):
cmd = 'msiexec /x ' + cmd
__salt__['cmd.run'](cmd, output_loglevel='debug')
__salt__['cmd.run'](cmd, output_loglevel='trace')
__context__.pop('pkg.list_pkgs', None)
new = list_pkgs()