diff --git a/sysctl/map.jinja b/sysctl/map.jinja index da3ef81..8dab16d 100644 --- a/sysctl/map.jinja +++ b/sysctl/map.jinja @@ -10,6 +10,11 @@ "config": { "location": '/etc/sysctl.d', } + }, + 'RedHat': { + "config": { + "location": '/etc/sysctl.conf', + } } }, grain="os_family") %} diff --git a/sysctl/param.sls b/sysctl/param.sls index 15977a8..ae1bb99 100644 --- a/sysctl/param.sls +++ b/sysctl/param.sls @@ -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 %}