From 24fb40a23df5a4fd538d47bd3b9ab47ac74b693f Mon Sep 17 00:00:00 2001 From: Robert Brooks Date: Fri, 28 Feb 2020 14:47:35 -0800 Subject: [PATCH] use ensure_packages to avoid conflicts --- manifests/init.pp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 77a7961..8fd1082 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -34,9 +34,7 @@ $configs_defaults = {} ) { if ( $package_manage ) { - package { $package_name: - ensure => $package_ensure, - } + ensure_packages($package_name, { 'ensure' => $package_ensure }) } create_resources(git::config, git_config_hash($configs), $configs_defaults)