mirror of
https://github.com/saltstack-formulas/sysctl-formula.git
synced 2024-11-27 23:07:54 +01:00
Merge pull request #17 from babilen/remove-redundant-map-entries
Remove redundant entries from map.jinja file
This commit is contained in:
commit
2975f9b904
@ -16,11 +16,7 @@
|
||||
|
||||
{## setup variable using grains['os_family'] based logic ##}
|
||||
{% set os_family_map = salt['grains.filter_by']({
|
||||
'Arch': {
|
||||
"config": {
|
||||
"location": '/etc/sysctl.d',
|
||||
}
|
||||
},
|
||||
'Arch': {},
|
||||
'RedHat': {
|
||||
"config": {
|
||||
"location": '/etc/sysctl.conf',
|
||||
@ -28,15 +24,9 @@
|
||||
},
|
||||
'Suse': {
|
||||
"pkg": "procps",
|
||||
"config": {
|
||||
"location": '/etc/sysctl.d',
|
||||
}
|
||||
},
|
||||
'Debian': {
|
||||
"pkg": "procps",
|
||||
"config": {
|
||||
"location": '/etc/sysctl.d',
|
||||
}
|
||||
},
|
||||
},
|
||||
grain="os_family",
|
||||
|
Loading…
Reference in New Issue
Block a user