From a23cbb93a736661820a94d50b19c87ed7dcc27fb Mon Sep 17 00:00:00 2001 From: Frank Wall Date: Thu, 7 May 2020 09:48:36 +0200 Subject: [PATCH] replace ensure_resource() with ensure_packages(), fixes #158 --- manifests/arbitrator.pp | 2 +- manifests/init.pp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/arbitrator.pp b/manifests/arbitrator.pp index 9b66d0b..d0983cb 100644 --- a/manifests/arbitrator.pp +++ b/manifests/arbitrator.pp @@ -7,7 +7,7 @@ String $package_name, String $service_name, ) { - ensure_resource(package, [$package_name], + ensure_packages([$package_name], { ensure => $galera::arbitrator_package_ensure, }) diff --git a/manifests/init.pp b/manifests/init.pp index 3ef5245..8b240eb 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -499,7 +499,7 @@ # Install additional packages if ($manage_additional_packages and $additional_packages_real) { - ensure_resource(package, $additional_packages_real, + ensure_packages($additional_packages_real, { ensure => $package_ensure, before => $_packages_before,