Also create systemd snippet directory
authorJulien Cristau <jcristau@debian.org>
Sun, 29 Jan 2017 14:25:42 +0000 (15:25 +0100)
committerJulien Cristau <jcristau@debian.org>
Sun, 29 Jan 2017 14:25:42 +0000 (15:25 +0100)
modules/bacula/manifests/client.pp

index 0b2b671..a2f818e 100644 (file)
@@ -50,6 +50,12 @@ class bacula::client inherits bacula {
                require => Package['bacula-fd'],
                notify  => Service['bacula-fd'],
        }
+       file { '/etc/systemd/system/bacula-fd.service.d':
+               ensure  => directory,
+               mode    => '0755',
+               owner   => root,
+               group   => root,
+       }
        file { '/etc/systemd/system/bacula-fd.service.d/user.conf':
                source  => 'puppet:///modules/bacula/bacula-fd-systemd',
                mode    => '0400',