Added pattern support for package install
This commit is contained in:
parent
54e03c14f9
commit
b741ad58fc
@ -4,6 +4,8 @@ include:
|
||||
packages:
|
||||
teams: { status: installed }
|
||||
python3-susepubliccloudinfo: { status: installed }
|
||||
pattern:kvm_server: { status: installed }
|
||||
pattern:kvm_tools: { status: installed }
|
||||
|
||||
firefox:
|
||||
addons:
|
||||
|
@ -14,3 +14,4 @@ packages:
|
||||
# vim-instant-markdown
|
||||
xdg-utils: { status: installed }
|
||||
nodejs10: { status: installed }
|
||||
pattern:devel_basis: { status: installed }
|
||||
|
@ -1,6 +1,8 @@
|
||||
{% for package, args in pillar['packages'].items() %}
|
||||
{% if args['status'] != 'ignore' %}
|
||||
{{ package }}:
|
||||
pkg.{{ args['status'] }}
|
||||
pkg.{{ args['status'] }}:
|
||||
- name: {{ package }}
|
||||
- includes: [pattern]
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user