Skip to content

Commit

Permalink
Changes suggested by @kenyon
Browse files Browse the repository at this point in the history
  • Loading branch information
pillarsdotnet committed Sep 28, 2023
1 parent 73f1e75 commit b030a17
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions manifests/update.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down

0 comments on commit b030a17

Please sign in to comment.