Add 500 as a success return code for dellcommandupdate

This commit is contained in:
Adam Goldsmith 2020-02-03 23:16:14 -05:00
parent 644e5e9eb5
commit dc525fdf78
2 changed files with 15 additions and 0 deletions

13
dell-command-update.sls Normal file
View File

@ -0,0 +1,13 @@
include:
- chocolatey
Install dellcommandupdate:
chocolatey.installed:
- name: dellcommandupdate
- require:
- sls: chocolatey
Run dellcommandupdate:
cmd.run:
- name: '"C:\Program Files (x86)\Dell\CommandUpdate\dcu-cli.exe" /applyUpdates'
- success_retcodes: [0, 500]

View File

@ -3,6 +3,8 @@ base:
# - winHiDPI # - winHiDPI
'TSMS-Desktop11': 'TSMS-Desktop11':
- corelDRAW - corelDRAW
'G@os:Windows and G@manufacturer:Dell*':
- dell-command-update
'G@os:Windows': 'G@os:Windows':
- windowsWorkstation - windowsWorkstation
- removeShortcuts - removeShortcuts