Allow specifying arguments for chocolatey packages
This commit is contained in:
parent
ddc6e8eab0
commit
f89c0f5936
@ -10,6 +10,9 @@ include:
|
||||
"install {{ pkg }}":
|
||||
chocolatey.installed:
|
||||
- name: {{ pkg }}
|
||||
{% if pkg in packages and packages[pkg] %}
|
||||
{{ packages[pkg] | dict_to_sls_yaml_params | indent }}
|
||||
{% endif %}
|
||||
- require:
|
||||
- sls: chocolatey
|
||||
{% endfor %}
|
||||
@ -19,8 +22,12 @@ include:
|
||||
{% set outdated_pkg = outdated_pkg_lines|map('method_call', 'split', '|', 1)|map(attribute=0) %}
|
||||
{% for pkg in outdated_pkg|difference(['chitubox', 'sketchup', 'autodesk-fusion360']) %}
|
||||
"update {{ pkg }}":
|
||||
chocolatey.upgraded:
|
||||
module.run:
|
||||
- chocolatey.upgrade:
|
||||
- name: "{{ pkg }}"
|
||||
{% if pkg in packages and packages[pkg] %}
|
||||
{{ packages[pkg] | dict_to_sls_yaml_params | indent }}
|
||||
{% endif %}
|
||||
- require:
|
||||
- chocolateyBootstrap
|
||||
{% endfor %}
|
||||
|
@ -1,42 +1,42 @@
|
||||
# Admin Tools
|
||||
- choco-cleaner
|
||||
choco-cleaner:
|
||||
|
||||
# Browsers
|
||||
- firefox
|
||||
- googlechrome
|
||||
firefox:
|
||||
googlechrome:
|
||||
|
||||
# Development Tools
|
||||
- arduino
|
||||
- git
|
||||
- javaruntime
|
||||
- notepadplusplus
|
||||
- python
|
||||
- vim
|
||||
- vscode
|
||||
- rpi-imager
|
||||
arduino:
|
||||
git:
|
||||
javaruntime:
|
||||
notepadplusplus:
|
||||
python:
|
||||
vim:
|
||||
vscode:
|
||||
rpi-imager:
|
||||
|
||||
# Graphics
|
||||
- gimp
|
||||
- inkscape
|
||||
gimp:
|
||||
inkscape:
|
||||
|
||||
# 3D Modeling
|
||||
- autodesk-fusion360
|
||||
- meshmixer
|
||||
- blender
|
||||
- cura-lulzbot
|
||||
- openscad
|
||||
- freecad
|
||||
- chitubox
|
||||
- solvespace
|
||||
autodesk-fusion360:
|
||||
meshmixer:
|
||||
blender:
|
||||
cura-lulzbot:
|
||||
openscad:
|
||||
freecad:
|
||||
chitubox:
|
||||
solvespace:
|
||||
|
||||
- kicad
|
||||
kicad:
|
||||
|
||||
# Office
|
||||
- 7zip
|
||||
- adobereader
|
||||
- libreoffice-fresh
|
||||
- vlc
|
||||
- itunes
|
||||
7zip:
|
||||
adobereader:
|
||||
libreoffice-fresh:
|
||||
vlc:
|
||||
itunes:
|
||||
|
||||
# Education
|
||||
- minecraft-education
|
||||
minecraft-education:
|
||||
|
Loading…
Reference in New Issue
Block a user