mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix win_wua state
This commit is contained in:
parent
bdf7316ca3
commit
b923118b1b
1 changed files with 3 additions and 3 deletions
|
@ -183,7 +183,7 @@ def installed(name, updates=None):
|
|||
wua.install(install)
|
||||
|
||||
# Refresh windows update info
|
||||
wua.load_search()
|
||||
wua.refresh()
|
||||
post_info = wua.updates().list()
|
||||
|
||||
# Verify the installation
|
||||
|
@ -307,7 +307,7 @@ def removed(name, updates=None):
|
|||
wua.uninstall(uninstall)
|
||||
|
||||
# Refresh windows update info
|
||||
wua.load_search()
|
||||
wua.refresh()
|
||||
post_info = wua.updates().list()
|
||||
|
||||
# Verify the installation
|
||||
|
@ -482,7 +482,7 @@ def uptodate(
|
|||
wua.install(install)
|
||||
|
||||
# Refresh windows update info
|
||||
wua.load_search()
|
||||
wua.refresh()
|
||||
|
||||
post_info = wua.updates().list()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue