From 98804481f258feaeb90769ad4b195c3c26e1fb19 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 17 Jul 2017 09:47:07 +0000 Subject: [PATCH] override for bacula-sd: set group and supplementary group --- modules/bacula/manifests/storage.pp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/bacula/manifests/storage.pp b/modules/bacula/manifests/storage.pp index 35dffb229..7c274c1ce 100644 --- a/modules/bacula/manifests/storage.pp +++ b/modules/bacula/manifests/storage.pp @@ -9,6 +9,13 @@ class bacula::storage inherits bacula { enable => true, hasstatus => true, } + systemd::override { 'bacula-sd': + content => @(EOT) + [Service] + Group=bacula + SupplementaryGroups=ssl-cert + | EOT + } exec { 'bacula-sd restart-when-idle': path => '/usr/bin:/usr/sbin:/bin:/sbin', -- 2.20.1