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