From 57dd592298d2fa345efae36269d9490db28b86c5 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Thu, 16 Jan 2020 12:34:55 -0500 Subject: [PATCH] Add local chocolatey source to install packages like any other --- packages.yaml | 2 ++ windowsWorkstation.sls | 13 +++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/packages.yaml b/packages.yaml index 59f3ab4..4edf245 100644 --- a/packages.yaml +++ b/packages.yaml @@ -17,10 +17,12 @@ # 3D Modeling - autodesk-fusion360 +- autodesk-meshmixer - blender - cura-lulzbot - openscad - sketchup +- chitubox - kicad diff --git a/windowsWorkstation.sls b/windowsWorkstation.sls index 399d236..de157cb 100644 --- a/windowsWorkstation.sls +++ b/windowsWorkstation.sls @@ -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: