X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fbacula%2Fmanifests%2Fclient.pp;h=2918a7938a79c1bc28208192ceff636a4716dce9;hb=3f3b92742679c0dfdf75794f45ef526a133fdc90;hp=230b29f5ae1246efc5d3d0c300130960c2bb5a50;hpb=26fde70940d056594616562d2e248e277854ab17;p=mirror%2Fdsa-puppet.git diff --git a/modules/bacula/manifests/client.pp b/modules/bacula/manifests/client.pp index 230b29f5a..2918a7938 100644 --- a/modules/bacula/manifests/client.pp +++ b/modules/bacula/manifests/client.pp @@ -1,5 +1,5 @@ class bacula::client inherits bacula { - @@bacula::storage-per-node { $::fqdn: } + @@bacula::storage_per_node { $::fqdn: } if ! getfromhash($site::nodeinfo, 'not-bacula-client') { @@bacula::node { $::fqdn: @@ -50,7 +50,7 @@ class bacula::client inherits bacula { require => Package['bacula-fd'], notify => Service['bacula-fd'], } - if ($::lsbmajdistrelease >= 9 and $systemd) { + if (versioncmp($::lsbmajdistrelease, '9') >= 0 and $systemd) { file { '/etc/systemd/system/bacula-fd.service.d': ensure => directory, mode => '0755',