2019-11-11 14:22:13 -05:00
|
|
|
chocolateyBootstrap:
|
|
|
|
module.run:
|
|
|
|
- name: chocolatey.bootstrap
|
|
|
|
|
2020-01-16 12:34:55 -05:00
|
|
|
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 }}:
|
2020-01-16 12:35:56 -05:00
|
|
|
chocolatey.installed:
|
2019-11-11 14:22:13 -05:00
|
|
|
- name: {{ pkg }}
|
|
|
|
- require:
|
|
|
|
- chocolateyBootstrap
|
2020-01-16 12:34:55 -05:00
|
|
|
- chocolateySource
|
2019-11-11 14:22:13 -05:00
|
|
|
{% endfor %}
|
|
|
|
|
2020-01-16 12:35:56 -05:00
|
|
|
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
|