expanded packages state

This commit is contained in:
Jonas Forsberg 2020-05-14 09:19:39 +02:00
parent e8c854c692
commit 2c0a0ca638
No known key found for this signature in database
GPG Key ID: F2E9818C70350CC9
4 changed files with 18 additions and 17 deletions

View File

@ -1,2 +1,2 @@
packages: packages:
weechat: weechat: { status: installed }

View File

@ -1,6 +1,6 @@
packages: packages:
teams: teams: { status: installed }
rocketchat: rocketchat: { status: installed }
repositories: repositories:
msteams: msteams:

View File

@ -1,10 +1,11 @@
packages: packages:
vim: vim: { status: installed }
git: git: { status: installed }
curl: curl: { status: installed }
htop: tmux: { status: installed }
terminator: htop: { status: installed }
borgbackup: terminator: { status: installed }
go: borgbackup: { status: installed }
nextcloud-client: go: { status: installed }
keepassxc: nextcloud-client: { status: installed }
keepassxc: { status: installed }

View File

@ -1,6 +1,6 @@
{% for pkg in salt['pillar.get']('packages', []) %} {% for package, args in pillar['packages'].items() %}
Install {{ pkg }}: {% if args['status'] != 'ignore' %}
pkg.installed: {{ package }}:
- name: {{ pkg }} pkg.{{ args['status'] }}
- refresh: false {% endif %}
{% endfor %} {% endfor %}