0
0
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:
Nitin Madhok 2015-05-12 10:22:50 -04:00
commit 27a3ce6110
2 changed files with 6 additions and 1 deletions

View File

@ -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")
%} %}

View File

@ -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 %}