systemd: create unexistent .d directory
authorHéctor Orón Martínez <zumbi@debian.org>
Wed, 31 Jan 2018 16:05:04 +0000 (17:05 +0100)
committerHéctor Orón Martínez <zumbi@debian.org>
Wed, 31 Jan 2018 16:06:47 +0000 (17:06 +0100)
Signed-off-by: Héctor Orón Martínez <zumbi@debian.org>
modules/systemd/manifests/init.pp

index c6362af..47af705 100644 (file)
@@ -8,6 +8,7 @@ class systemd {
 
        if $::hostname == 'godard' {
                file { '/etc/systemd/journald.conf.d/persistency.conf':
+                       command => 'mkdir -p /etc/systemd/journald.conf.d/',
                        source => 'puppet:///modules/systemd/persistency.conf',
                }
        }