-
Notifications
You must be signed in to change notification settings - Fork 205
Open
Labels
Description
Calling the rsyslog class with package_status => absent still results in the module installing the config and trying to start the service:
Notice: /Stage[main]/Rsyslog::Install/Package[rsyslog]/ensure: removed
Info: /Stage[main]/Rsyslog::Install/Package[rsyslog]: Scheduling refresh of Class[Rsyslog::Service]
Notice: /Stage[main]/Rsyslog::Config/File[/etc/rsyslog.conf]/ensure: defined content as '{md5}d2bd488686f47a3e4b545f4affa81c83'
Info: /Stage[main]/Rsyslog::Config/File[/etc/rsyslog.conf]: Scheduling refresh of Class[Rsyslog::Service]
Notice: /Stage[main]/Rsyslog::Config/File[/etc/sysconfig/rsyslog]/ensure: defined content as '{md5}5addcbd095b1516e38cb1ad49e1ab2ea'
Info: /Stage[main]/Rsyslog::Config/File[/etc/sysconfig/rsyslog]: Scheduling refresh of Class[Rsyslog::Service]
Notice: /Stage[main]/Rsyslog::Config/File[/var/lib/rsyslog]/ensure: created
Info: /Stage[main]/Rsyslog::Config/File[/var/lib/rsyslog]: Scheduling refresh of Class[Rsyslog::Service]
Info: Class[Rsyslog::Service]: Scheduling refresh of Service[rsyslog]
Error: Could not start Service[rsyslog]: Execution of '/sbin/service rsyslog start' returned 1: rsyslog: unrecognized service
Error: /Stage[main]/Rsyslog::Service/Service[rsyslog]/ensure: change from stopped to running failed: Could not start Service[rsyslog]: Execution of '/sbin/service rsyslog start' returned 1: rsyslog: unrecognized service
Notice: /Stage[main]/Rsyslog::Service/Service[rsyslog]: Triggered 'refresh' from 1 events
Info: Class[Rsyslog::Service]: Unscheduling all events on Class[Rsyslog::Service]
There should be a way to cleanly uninstall rsyslog.