All our systems are now at least Debian 9
authorPeter Palfrader <peter@palfrader.org>
Wed, 25 Sep 2019 09:19:18 +0000 (11:19 +0200)
committerPeter Palfrader <peter@palfrader.org>
Wed, 25 Sep 2019 09:19:18 +0000 (11:19 +0200)
modules/bacula/manifests/client.pp

index 3837699..dbd8d44 100644 (file)
@@ -90,6 +90,9 @@ class bacula::client(
     content => @(EOF),
       [Unit]
       After=network-online.target
+      [Service]
+      ExecStart=
+      ExecStart=/usr/sbin/bacula-fd -c $CONFIG -f -u bacula -k
       | EOF
   }
 
@@ -134,17 +137,4 @@ class bacula::client(
     group   => root,
     notify  => Service['bacula-fd'],
   }
-  if (versioncmp($::lsbmajdistrelease, '9') >= 0 and $facts['systemd']) {
-    dsa_systemd::override { 'bacula-fd':
-      content => @(EOT)
-        [Service]
-        ExecStart=
-        ExecStart=/usr/sbin/bacula-fd -c $CONFIG -f -u bacula -k
-        | EOT
-    }
-  } else {
-    dsa_systemd::override { 'bacula-fd':
-      ensure  => absent,
-    }
-  }
 }