From 4355675d0c26b483f40295c0f335b528586adb96 Mon Sep 17 00:00:00 2001 From: Niall O'Higgins Date: Mon, 4 Feb 2013 16:30:20 -0800 Subject: [PATCH] dropbox .tar.gz is now a gzip format file for real so change tar flag from j to z --- puppet/modules/docker/manifests/init.pp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/puppet/modules/docker/manifests/init.pp b/puppet/modules/docker/manifests/init.pp index 72fc46f114..79d5891308 100644 --- a/puppet/modules/docker/manifests/init.pp +++ b/puppet/modules/docker/manifests/init.pp @@ -1,7 +1,6 @@ class docker { # update this with latest docker binary distro - # XXX: this is actually a bzip2 file rather than gzip despite extension $docker_url = "https://dl.dropbox.com/u/20637798/docker.tar.gz" # update this with latest go binary distry $go_url = "http://go.googlecode.com/files/go1.0.3.linux-amd64.tar.gz" @@ -26,7 +25,7 @@ class docker { exec { "fetch-docker" : require => Package["wget"], - command => "/usr/bin/wget -O - $docker_url | /bin/tar xj -C /home/vagrant", + command => "/usr/bin/wget -O - $docker_url | /bin/tar xz -C /home/vagrant", creates => "/home/vagrant/docker/dockerd" }