updated provision state
This commit is contained in:
parent
19911c9075
commit
34bf0b5ccd
@ -22,6 +22,7 @@ schedule_pkg_upgrade:
|
||||
schedule.absent:
|
||||
- name: schedule_pkg_upgrade
|
||||
|
||||
{%- if specs.default.items()|length > 0 and salt['grains.get']('id') in specs.keys() %}
|
||||
{%- for key, value in specs.default.items() %}
|
||||
{{ key }}:
|
||||
grains.present:
|
||||
@ -29,3 +30,4 @@ schedule_pkg_upgrade:
|
||||
- value: {% if specs[salt['grains.get']('id')][key] is defined %}{{ specs[salt['grains.get']('id')][key] }}{% else %}{{ value }}{% endif %}
|
||||
- force: true
|
||||
{% endfor %}
|
||||
{%- endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user