diff --git a/salt/pkgrepo/absent.sls b/salt/pkgrepo/absent.sls index d79b15f..b66c8e3 100644 --- a/salt/pkgrepo/absent.sls +++ b/salt/pkgrepo/absent.sls @@ -1,2 +1,2 @@ include: - - .{{ grains['os']|lower }}.absent + - .{{ grains['os_family']|lower }}.absent diff --git a/salt/pkgrepo/init.sls b/salt/pkgrepo/init.sls index e6eeb3c..b2c794c 100644 --- a/salt/pkgrepo/init.sls +++ b/salt/pkgrepo/init.sls @@ -1,6 +1,2 @@ -{% set name = { - 'RedHat': 'redhat', - 'Debian': grains['os_family']|lower, -}.get(grains.os_family) %} include: - - .{{ name }} + - .{{ grains['os_family']|lower }}