projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
do systemd stuff only on systemd systems
[mirror/dsa-puppet.git]
/
modules
/
bacula
/
manifests
/
client.pp
diff --git
a/modules/bacula/manifests/client.pp
b/modules/bacula/manifests/client.pp
index
66c4326
..
230b29f
100644
(file)
--- a/
modules/bacula/manifests/client.pp
+++ b/
modules/bacula/manifests/client.pp
@@
-50,7
+50,7
@@
class bacula::client inherits bacula {
require => Package['bacula-fd'],
notify => Service['bacula-fd'],
}
- if
$::lsbmajdistrelease >= 9
{
+ if
($::lsbmajdistrelease >= 9 and $systemd)
{
file { '/etc/systemd/system/bacula-fd.service.d':
ensure => directory,
mode => '0755',