diff --git a/manifests/init.pp b/manifests/init.pp index d7e5a52..6d14552 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -187,7 +187,9 @@ $default_syslogd_options = '-m 0' $default_mod_imjournal = false $default_manage_devlog = false - } + # ensures that sysklogd is absent, which is needed on EL5 + require '::sysklogd' + } /^6\.*/: { $default_pid_file = '/var/run/syslogd.pid' $sysconfig_erb = 'sysconfig.rhel6.erb' @@ -206,8 +208,6 @@ fail("rsyslog supports RedHat like systems with major release of 5, 6 and 7 and you have ${::operatingsystemrelease}") } } - # ensures that sysklogd is absent, which is needed on EL5 - require '::sysklogd' } 'Debian': { $default_logrotate_present = true