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": {
"location": '/etc/sysctl.d',
}
},
'RedHat': {
"config": {
"location": '/etc/sysctl.conf',
}
}
}, grain="os_family")
%}

View File

@ -9,7 +9,7 @@
sysctl-present-{{ param.name }}:
sysctl.present:
- name: {{ param.name }}
- value: {{ param.version }}
- value: {{ param.value }}
{% if param.config is defined %}
- config: {{ sysctl_settings.config.location }}/{{ param.config }}
{% endif %}