Install and configure docker from puppetlabs 38/62238/2
authorAnil Belur <abelur@linuxfoundation.org>
Wed, 23 Aug 2017 23:30:30 +0000 (09:30 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Thu, 24 Aug 2017 03:13:09 +0000 (13:13 +1000)
Puppetlabs docker supports Ubuntu 16.04 and more
recent.

Change-Id: Ia97ce112693e03ddc2f1d0e72c450834d3308d47
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
packer/provision/gbp.sh

index 706e1525b5616aefc5721fbae1a48bf78459a88f..95ba70c9b076f21d4420f79e88124e2148fccd26 100644 (file)
@@ -16,9 +16,9 @@ apt-get update
 apt-get install "linux-image-extra-$(uname -r)" linux-image-extra-virtual
 modprobe aufs
 
-# we need garethr-docker in our puppet manifest to install docker
-# cleanly
-puppet module install garethr-docker --version 5.3.0
+# Install and configure docker. Use puppetlabs docker which supports
+# Ubuntu 16.04
+puppet module install puppetlabs-docker_platform --version 2.2.1
 
 # do the package install via puppet so that we know it actually installs
 # properly and it also makes it quieter but with better error reporting