mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2024-11-27 22:38:10 +01:00
Simplify pkgrepo logic, made possible by 3b265a544
This commit is contained in:
parent
01043740dc
commit
13ea551011
@ -1,2 +1,2 @@
|
||||
include:
|
||||
- .{{ grains['os']|lower }}.absent
|
||||
- .{{ grains['os_family']|lower }}.absent
|
||||
|
@ -1,6 +1,2 @@
|
||||
{% set name = {
|
||||
'RedHat': 'redhat',
|
||||
'Debian': grains['os_family']|lower,
|
||||
}.get(grains.os_family) %}
|
||||
include:
|
||||
- .{{ name }}
|
||||
- .{{ grains['os_family']|lower }}
|
||||
|
Loading…
Reference in New Issue
Block a user