From 8650d1e7b4f8d63047581c43b58c90d285af28a9 Mon Sep 17 00:00:00 2001
From: Andreas Kempe <kempe@lysator.liu.se>
Date: Wed, 16 Feb 2022 23:21:31 +0100
Subject: [PATCH] Correct config subscription

Subscribe to /etc/rsyslog.d/lysator.conf instead of /etc/rsyslog.conf
since we moved the configuration file.
---
 manifests/init.pp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/manifests/init.pp b/manifests/init.pp
index f3d512f..067af03 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -17,7 +17,7 @@ class lyslogclient
       ensure    => 'running',
       enable    => true,
       pattern   => 'syslog',
-      subscribe => File['/etc/rsyslog.conf'];
+      subscribe => File['/etc/rsyslog.d/lysator.conf'];
   }
 
   cron {
-- 
GitLab