From 39852a86df66dfd9cb3bd0ba81ff5be7562d5de4 Mon Sep 17 00:00:00 2001 From: zajk Date: Tue, 12 May 2015 15:48:08 +0200 Subject: [PATCH 1/2] Added RedHat family to map.jinja --- sysctl/map.jinja | 5 +++++ 1 file changed, 5 insertions(+) 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") %} From 818c709f177560795d551d933ea47a41e984d9b9 Mon Sep 17 00:00:00 2001 From: zajk Date: Tue, 12 May 2015 15:48:22 +0200 Subject: [PATCH 2/2] Fixed a typo --- sysctl/param.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %}