mirror of
https://github.com/saltstack-formulas/sysctl-formula.git
synced 2024-11-28 01:18:18 +01:00
Remove redundant entries from map.jinja file
These values correspond to those defined in defaults.yml and do not have to be repeated again.
This commit is contained in:
parent
fa7a4e79eb
commit
b7f723bc46
@ -16,11 +16,7 @@
|
|||||||
|
|
||||||
{## setup variable using grains['os_family'] based logic ##}
|
{## setup variable using grains['os_family'] based logic ##}
|
||||||
{% set os_family_map = salt['grains.filter_by']({
|
{% set os_family_map = salt['grains.filter_by']({
|
||||||
'Arch': {
|
'Arch': {},
|
||||||
"config": {
|
|
||||||
"location": '/etc/sysctl.d',
|
|
||||||
}
|
|
||||||
},
|
|
||||||
'RedHat': {
|
'RedHat': {
|
||||||
"config": {
|
"config": {
|
||||||
"location": '/etc/sysctl.conf',
|
"location": '/etc/sysctl.conf',
|
||||||
@ -28,15 +24,9 @@
|
|||||||
},
|
},
|
||||||
'Suse': {
|
'Suse': {
|
||||||
"pkg": "procps",
|
"pkg": "procps",
|
||||||
"config": {
|
|
||||||
"location": '/etc/sysctl.d',
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
'Debian': {
|
'Debian': {
|
||||||
"pkg": "procps",
|
"pkg": "procps",
|
||||||
"config": {
|
|
||||||
"location": '/etc/sysctl.d',
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
grain="os_family",
|
grain="os_family",
|
||||||
|
Loading…
Reference in New Issue
Block a user