aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2021-04-12 10:18:55 -0300
committerSilvio Rhatto <rhatto@riseup.net>2021-04-12 10:18:55 -0300
commit122afeeb9ea2a917f7f9a086c4921c52d712cdc8 (patch)
tree041a2f516dd4983420de1ae804200b853e4a1158
parent535076ab6e4c0cfcc1dd5401da099bf30c59cace (diff)
downloadpuppet-docker-122afeeb9ea2a917f7f9a086c4921c52d712cdc8.tar.gz
puppet-docker-122afeeb9ea2a917f7f9a086c4921c52d712cdc8.tar.bz2
Fix: docker package requirements
-rw-r--r--manifests/ce.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/ce.pp b/manifests/ce.pp
index 0ab22f6..dc7eec4 100644
--- a/manifests/ce.pp
+++ b/manifests/ce.pp
@@ -28,6 +28,9 @@ class docker::ce inherits docker {
Package['docker'] {
name => 'docker-ce',
- require => File['/etc/apt/sources.list.d/docker.list'],
+ require => [
+ File['/etc/apt/sources.list.d/docker.list'],
+ Exec['docker-apt-auto-update'],
+ ],
}
}