We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73f1e75 commit b030a17Copy full SHA for b030a17
manifests/update.pp
@@ -61,10 +61,12 @@
61
# This ensures that Puppet does not report a change if the
62
# update command had no effect. See MODULES-10763 for discussion.
63
$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'],
+ "${module_name}/update_had_no_effect.sh.epp",
+ {
+ 'provider' => $apt::provider,
+ 'timeout' => $apt::_update['timeout'],
68
+ 'tries' => $apt::_update['tries'],
69
+ }
70
)
71
exec { 'apt_update':
72
command => "echo ${apt::provider} successfully updated the package cache.",
0 commit comments