From: Peter Palfrader Date: Sun, 8 Sep 2019 11:53:12 +0000 (+0200) Subject: switch package{} in bacula::client to ensure_packages X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=20057599ae5e0608d0f922a177b8beb609e7564c;p=mirror%2Fdsa-puppet.git switch package{} in bacula::client to ensure_packages --- diff --git a/modules/bacula/manifests/client.pp b/modules/bacula/manifests/client.pp index f3443e37f..ebc3e5c6d 100644 --- a/modules/bacula/manifests/client.pp +++ b/modules/bacula/manifests/client.pp @@ -33,9 +33,12 @@ class bacula::client( } } - package { ['bacula-fd', 'bacula-common']: + ensure_packages ( [ + 'bacula-fd', + 'bacula-common', + ], { ensure => $package_ensure - } + }) service { 'bacula-fd': ensure => $service_ensure,