mirror of
https://github.com/saltstack-formulas/packages-formula.git
synced 2025-04-16 01:30:22 +00:00
fix issue #39
This commit is contained in:
parent
b0846513a1
commit
080ef0f5a1
1 changed files with 4 additions and 0 deletions
|
@ -31,8 +31,10 @@ held_pkgs:
|
|||
{% else %}
|
||||
- pkgs: {{ held_packages }}
|
||||
{% endif %}
|
||||
{% if grains['os_family'] not in ['Suse'] %}
|
||||
- hold: true
|
||||
- update_holds: true
|
||||
{% endif %}
|
||||
- require:
|
||||
- pkg: pkg_req_pkgs
|
||||
{% for dep in req_states %}
|
||||
|
@ -43,7 +45,9 @@ held_pkgs:
|
|||
wanted_pkgs:
|
||||
pkg.installed:
|
||||
- pkgs: {{ wanted_packages }}
|
||||
{% if grains['os_family'] not in ['Suse'] %}
|
||||
- hold: false
|
||||
{% endif %}
|
||||
- require:
|
||||
- pkg: pkg_req_pkgs
|
||||
{% if req_states %}
|
||||
|
|
Loading…
Add table
Reference in a new issue