3b265a544a
Rasbian reports back the following grain values: local: ---------- os: Raspbian os_family: Debian osarch: armhf osmajorrelease: 8 osrelease: 8.0 Ubuntu reports back the following grain values: local: ---------- os: Ubuntu os_family: Debian osarch: amd64 osmajorrelease: 14 osrelease: 14.04 For Raspbian the osarch needed to be changed from other Debain os_family distributions. For Ubuntu the osrelease value is needed instead of osmajorrelease as other Debian os_family distributions. Part of #180
7 lines
133 B
Plaintext
7 lines
133 B
Plaintext
{% set name = {
|
|
'RedHat': 'redhat',
|
|
'Debian': grains['os_family']|lower,
|
|
}.get(grains.os_family) %}
|
|
include:
|
|
- .{{ name }}
|