Skip to content

Commit 85f6ccd

Browse files
Ensure the apt update occurs prior to package install
1 parent 1a540d1 commit 85f6ccd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/compose.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
case $facts['os']['family'] {
2828
'Debian': {
2929
$_require = $docker::use_upstream_package_source ? {
30-
true => Apt::Source['docker'],
30+
true => [Apt::Source['docker'], Class['apt::update']],
3131
false => undef,
3232
}
3333
package { 'docker-compose-plugin':

0 commit comments

Comments
 (0)