salt-states/windowsWorkstation.sls

25 lines
395 B
Plaintext

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