Skip to content

Commit b030a17

Browse files
committed
Changes suggested by @kenyon
1 parent 73f1e75 commit b030a17

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

manifests/update.pp

+6-4
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,12 @@
6161
# This ensures that Puppet does not report a change if the
6262
# update command had no effect. See MODULES-10763 for discussion.
6363
$apt_update_had_no_effect = epp(
64-
'apt/update_had_no_effect.sh.epp',
65-
'provider' => $apt::provider,
66-
'timeout' => $apt::_update['timeout'],
67-
'tries' => $apt::_update['tries'],
64+
"${module_name}/update_had_no_effect.sh.epp",
65+
{
66+
'provider' => $apt::provider,
67+
'timeout' => $apt::_update['timeout'],
68+
'tries' => $apt::_update['tries'],
69+
}
6870
)
6971
exec { 'apt_update':
7072
command => "echo ${apt::provider} successfully updated the package cache.",

0 commit comments

Comments
 (0)