From 51d60ea0100f0ed2cde2f7de676270af306e1744 Mon Sep 17 00:00:00 2001 From: "Robert A. Vincent II (Bob-Vee)" Date: Wed, 27 Sep 2023 16:40:08 -0400 Subject: [PATCH] Changes suggested by @kenyon --- manifests/update.pp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/manifests/update.pp b/manifests/update.pp index 1b3735eedb..9a265ac29a 100644 --- a/manifests/update.pp +++ b/manifests/update.pp @@ -61,10 +61,12 @@ # This ensures that Puppet does not report a change if the # update command had no effect. See MODULES-10763 for discussion. $apt_update_had_no_effect = epp( - 'apt/update_had_no_effect.sh.epp', - 'provider' => $apt::provider, - 'timeout' => $apt::_update['timeout'], - 'tries' => $apt::_update['tries'], + "${module_name}/update_had_no_effect.sh.epp", + { + 'provider' => $apt::provider, + 'timeout' => $apt::_update['timeout'], + 'tries' => $apt::_update['tries'], + } ) exec { 'apt_update': command => "echo ${apt::provider} successfully updated the package cache.",