From 6b6b7a7b94dfbf139de3896948e164da61a5eec2 Mon Sep 17 00:00:00 2001 From: Rick Paxton Date: Fri, 1 Oct 2021 12:17:47 -0400 Subject: [PATCH] Avoid duplicate resource declarations --- manifests/install.pp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/manifests/install.pp b/manifests/install.pp index 2767e36..984aabb 100644 --- a/manifests/install.pp +++ b/manifests/install.pp @@ -1,7 +1,4 @@ # @!visibility private class sasl::install { - - package { $::sasl::package_name: - ensure => present, - } + ensure_packages($sasl::package_name, {'ensure' => 'present'}) }