From: Peter Palfrader Date: Sun, 8 Sep 2019 11:52:17 +0000 (+0200) Subject: switch package{} in bacula::director to ensure_packages X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=1c3bf23275e0bf6d74d81a5009d7dc4a18411463;p=mirror%2Fdsa-puppet.git switch package{} in bacula::director to ensure_packages --- diff --git a/modules/bacula/manifests/director.pp b/modules/bacula/manifests/director.pp index 1f0440780..b52c388bf 100644 --- a/modules/bacula/manifests/director.pp +++ b/modules/bacula/manifests/director.pp @@ -1,9 +1,13 @@ # our bacula director class bacula::director inherits bacula { - package { ['bacula-director-pgsql', 'bacula-common', 'bacula-common-pgsql']: - ensure => installed - } + ensure_packages ( [ + 'bacula-director-pgsql', + 'bacula-common', + 'bacula-common-pgsql' + ], { + ensure => 'installed', + }) service { 'bacula-director': ensure => running,