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':
- command => 'mkdir -p /etc/systemd/journald.conf.d/',
source => 'puppet:///modules/systemd/persistency.conf',
}
+ exec {'systemctl force-reload systemd-journald':
+ refreshonly => true
+ }
}
}