From ba944313cc7469c1e5c6cdfe0db29fe11fab6d90 Mon Sep 17 00:00:00 2001 From: =?utf8?q?H=C3=A9ctor=20Or=C3=B3n=20Mart=C3=ADnez?= Date: Wed, 31 Jan 2018 17:17:30 +0100 Subject: [PATCH] systemd: reload journal service upon refresh MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Héctor Orón Martínez --- modules/systemd/manifests/init.pp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/systemd/manifests/init.pp b/modules/systemd/manifests/init.pp index d5b896d31..08f10fc50 100644 --- a/modules/systemd/manifests/init.pp +++ b/modules/systemd/manifests/init.pp @@ -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 + } } } -- 2.20.1