From 44fe776fb0c1fb205dd289b43a93b23dd49df581 Mon Sep 17 00:00:00 2001 From: Marco Rodrigues Date: Wed, 11 May 2016 13:27:14 +0200 Subject: [PATCH 1/2] Not recommended to force compatibility mode RHEL7 Close #109 --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index 28508eb..cbd56e8 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -198,7 +198,7 @@ /^7\.*/: { $default_pid_file = '/var/run/syslogd.pid' $sysconfig_erb = 'sysconfig.rhel7.erb' - $default_syslogd_options = '-c 4' + $default_syslogd_options = undef $default_mod_imjournal = true $default_manage_devlog = true } From d914a3548a185244ffdec17a019f893a04a76771 Mon Sep 17 00:00:00 2001 From: Marco Rodrigues Date: Wed, 11 May 2016 13:34:59 +0200 Subject: [PATCH 2/2] Update init_spec.rb --- spec/classes/init_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/classes/init_spec.rb b/spec/classes/init_spec.rb index 2f09bc9..9f111e1 100644 --- a/spec/classes/init_spec.rb +++ b/spec/classes/init_spec.rb @@ -1003,7 +1003,7 @@ }) } it { - should contain_file('rsyslog_sysconfig').with_content(/^SYSLOGD_OPTIONS="-c 4"$/) + should contain_file('rsyslog_sysconfig').with_content(/^SYSLOGD_OPTIONS=""$/) } end