systemd: reload journal service upon refresh
authorHéctor Orón Martínez <zumbi@debian.org>
Wed, 31 Jan 2018 16:17:30 +0000 (17:17 +0100)
committerHéctor Orón Martínez <zumbi@debian.org>
Wed, 31 Jan 2018 16:17:30 +0000 (17:17 +0100)
Signed-off-by: Héctor Orón Martínez <zumbi@debian.org>
modules/systemd/manifests/init.pp

index d5b896d..08f10fc 100644 (file)
@@ -13,6 +13,9 @@ class systemd {
                file { '/etc/systemd/journald.conf.d/persistency.conf':
                        source => 'puppet:///modules/systemd/persistency.conf',
                }
+               exec {'systemctl force-reload systemd-journald':
+                       refreshonly => true
+               }
        }
 
 }