aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'],
+ ],
}
}