projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23f09a8
)
do systemd stuff only on systemd systems
author
Peter Palfrader
<peter@palfrader.org>
Sun, 29 Jan 2017 20:54:00 +0000
(21:54 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Sun, 29 Jan 2017 20:54:00 +0000
(21:54 +0100)
modules/bacula/manifests/client.pp
patch
|
blob
|
history
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',