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
- autodesk-fusion360
- autodesk-meshmixer
- blender
- cura-lulzbot
- openscad
- sketchup
- chitubox
- kicad

View File

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