Modules use /sbin/service rsyslog restart for logrotate lastaction

Description

Several modules have logrotate rules that are hard coded to use /sbin/service to restart the rsyslog service. Although this works for now, when backward compatibility for systemV is dropped from RedHat/CentOS this will be broken! Also, wouldn't it be better to have this as a variable in the logrotate class, so we only have to update in one place.

pupmod-simp-aide/manifests/logrotate.pp
pupmod-simp-clamav/manifests/set_schedule.pp
pupmod-simp-dhcp/manifests/dhcpd.pp
pupmod-simp-openscap/manifests/schedule.pp
pupmod-simp-openldap/manifests/server/conf.pp
pupmod-simp-rsyslog/manifests/config/logrotate.pp
pupmod-simp-simp/manifests/rsyslog/stock/log_server.pp
pupmod-simp-sudosh/manifests/init.pp
pupmod-simp-sudosh/spec/classes/init_spec.rb

Acceptance Criteria

None

Activity

Show:
Nicholas Markowski
April 21, 2017, 5:18 AM

dhcpd done

Nicholas Markowski
April 21, 2017, 5:19 AM

simp_rsyslog done

Nicholas Markowski
April 21, 2017, 5:19 AM

sudosh done

Nicholas Markowski
April 21, 2017, 5:19 AM

openscap done

Nicholas Markowski
April 24, 2017, 1:55 PM

openldap done

Labels

None

Epic Link

Story Points

None

Assignee

Nicholas Markowski

Sprint

None

Affects versions

Priority

Medium
Configure