salt-states/windowsWorkstation.sls

37 lines
659 B
Plaintext
Raw Normal View History

2019-11-11 14:22:13 -05:00
chocolateyBootstrap:
module.run:
- name: chocolatey.bootstrap
chocolateySource:
module.run:
- name: chocolatey.add_source
- m_name: UCS
- source_location: \\ucs\software\nupkg
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:
- chocolateyBootstrap
- chocolateySource
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
setTimezone:
timezone.system:
- name: America/New_York