Add local chocolatey source to install packages like any other

This commit is contained in:
Adam Goldsmith 2020-01-16 12:34:55 -05:00
parent 2f575b3002
commit 57dd592298
2 changed files with 9 additions and 6 deletions

View File

@ -17,10 +17,12 @@
# 3D Modeling # 3D Modeling
- autodesk-fusion360 - autodesk-fusion360
- autodesk-meshmixer
- blender - blender
- cura-lulzbot - cura-lulzbot
- openscad - openscad
- sketchup - sketchup
- chitubox
- kicad - kicad

View File

@ -2,6 +2,12 @@ chocolateyBootstrap:
module.run: module.run:
- name: chocolatey.bootstrap - name: chocolatey.bootstrap
chocolateySource:
module.run:
- name: chocolatey.add_source
- m_name: UCS
- source_location: \\ucs\software\nupkg
{% import_yaml "packages.yaml" as packages %} {% import_yaml "packages.yaml" as packages %}
{% for pkg in packages %} {% for pkg in packages %}
{{ pkg }}: {{ pkg }}:
@ -9,14 +15,9 @@ chocolateyBootstrap:
- name: {{ pkg }} - name: {{ pkg }}
- require: - require:
- chocolateyBootstrap - chocolateyBootstrap
- chocolateySource
{% endfor %} {% endfor %}
autodesk-meshmixer:
chocolatey.installed:
- name: autodesk-meshmixer
- source: \\ucs\software\nupkg
- require:
- chocolateyBootstrap
# windowsUpdates: # windowsUpdates:
# wua.uptodate: # wua.uptodate: