X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fbacula%2Fmanifests%2Fclient.pp;h=2918a7938a79c1bc28208192ceff636a4716dce9;hb=a964a55270d7645b19bab0c5d5b971d344575a56;hp=05234fc9b9316dd440d50f38e822fde02d8c733e;hpb=6f2e5fc86e49c12b12eef39fc69e0e810a32c318;p=mirror%2Fdsa-puppet.git diff --git a/modules/bacula/manifests/client.pp b/modules/bacula/manifests/client.pp index 05234fc9b..2918a7938 100644 --- 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' and $systemd) { + if (versioncmp($::lsbmajdistrelease, '9') >= 0 and $systemd) { file { '/etc/systemd/system/bacula-fd.service.d': ensure => directory, mode => '0755',