X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fsystemd%2Fmanifests%2Finit.pp;h=08f10fc50db60e88a180df9a211f50a65766c054;hb=b2fc3cd4df85fc3503b8fb66e3e2d5d6abf76875;hp=d19de12798769c561698711cdf0c3fc6ff624b86;hpb=8575b4449e5ceefa8a865b406b7accf56449b97f;p=mirror%2Fdsa-puppet.git diff --git a/modules/systemd/manifests/init.pp b/modules/systemd/manifests/init.pp index d19de1279..08f10fc50 100644 --- a/modules/systemd/manifests/init.pp +++ b/modules/systemd/manifests/init.pp @@ -5,4 +5,17 @@ class systemd { systemd::mask { 'sys-kernel-debug-tracing.mount': } systemd::mask { 'sys-kernel-debug.mount': } + + if $::hostname == 'godard' { + exec {'mkdir -p /etc/systemd/journald.conf.d': + unless => 'test -d /etc/systemd/journald.conf.d', + } + file { '/etc/systemd/journald.conf.d/persistency.conf': + source => 'puppet:///modules/systemd/persistency.conf', + } + exec {'systemctl force-reload systemd-journald': + refreshonly => true + } + } + }