salt-states/windowsWorkstation.sls

25 lines
395 B
Plaintext
Raw Normal View History

include:
- chocolatey
2019-11-11 14:22:13 -05:00
{% import_yaml "packages.yaml" as packages %}
{% for pkg in packages %}
{{ pkg }}:
chocolatey.installed:
2019-11-11 14:22:13 -05:00
- name: {{ pkg }}
- require:
- sls: chocolatey
2019-11-11 14:22:13 -05:00
{% endfor %}
Upgrade All:
chocolatey.upgraded:
- name: all
- require:
- chocolateyBootstrap
2019-11-11 14:22:13 -05:00
# windowsUpdates:
# wua.uptodate:
# - drivers: true
# 'gpupdate /force':
# cmd.run