mirror of
https://github.com/saltstack-formulas/sysctl-formula.git
synced 2024-11-28 01:18:18 +01:00
Merge pull request #4 from zajk/master
Fixed a typo and added RedHat family to map.jinja
This commit is contained in:
commit
27a3ce6110
@ -10,6 +10,11 @@
|
|||||||
"config": {
|
"config": {
|
||||||
"location": '/etc/sysctl.d',
|
"location": '/etc/sysctl.d',
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
'RedHat': {
|
||||||
|
"config": {
|
||||||
|
"location": '/etc/sysctl.conf',
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}, grain="os_family")
|
}, grain="os_family")
|
||||||
%}
|
%}
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
sysctl-present-{{ param.name }}:
|
sysctl-present-{{ param.name }}:
|
||||||
sysctl.present:
|
sysctl.present:
|
||||||
- name: {{ param.name }}
|
- name: {{ param.name }}
|
||||||
- value: {{ param.version }}
|
- value: {{ param.value }}
|
||||||
{% if param.config is defined %}
|
{% if param.config is defined %}
|
||||||
- config: {{ sysctl_settings.config.location }}/{{ param.config }}
|
- config: {{ sysctl_settings.config.location }}/{{ param.config }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user