Added the extra package installation
This commit is contained in:
parent
e9f90fe406
commit
675cff69fe
@ -4,3 +4,9 @@ sssd_package:
|
|||||||
pkg.{{ sssd.package_status }}:
|
pkg.{{ sssd.package_status }}:
|
||||||
- name: {{ sssd.package_name }}
|
- name: {{ sssd.package_name }}
|
||||||
|
|
||||||
|
{% if sssd.package_extras %}
|
||||||
|
sssd_package_extras:
|
||||||
|
pkg.installed:
|
||||||
|
- pkgs: {{ sssd.package_extras|json }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
@ -11,13 +11,13 @@ that differ from whats in defaults.yaml
|
|||||||
{% set flavor_map = salt['grains.filter_by'](
|
{% set flavor_map = salt['grains.filter_by'](
|
||||||
{
|
{
|
||||||
'Debian': {
|
'Debian': {
|
||||||
'package_extra': ['libpam-runtime', 'libpam-sss', 'libnss-sss'],
|
'package_extras': ['libpam-runtime', 'libpam-sss', 'libnss-sss'],
|
||||||
},
|
},
|
||||||
'FreeBSD': {
|
'FreeBSD': {
|
||||||
'package_extra': False,
|
'package_extras': False,
|
||||||
},
|
},
|
||||||
'RedHat': {
|
'RedHat': {
|
||||||
'package_extra': ['authconfig'],
|
'package_extras': ['authconfig'],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
grain='os_family',
|
grain='os_family',
|
||||||
|
Loading…
Reference in New Issue
Block a user