aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-11-09 16:40:34 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-11-09 16:40:34 -0200
commit1fed93e2f082ac9d471ccdfd35b102af3479d956 (patch)
treede0917b94b3546d785d5c323f3757a8abf208127
parent3d80de9142e829378d547343c1ce50c3ff4d2a47 (diff)
downloadpuppet-docker-1fed93e2f082ac9d471ccdfd35b102af3479d956.tar.gz
puppet-docker-1fed93e2f082ac9d471ccdfd35b102af3479d956.tar.bz2
Support also architectures other than amd64
-rw-r--r--manifests/init.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 64be785..bcc106e 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -15,7 +15,7 @@ class docker {
owner => "root",
group => "root",
mode => "0644",
- content => "deb [arch=amd64] https://download.docker.com/linux/${distro} ${::lsbdistcodename} stable\n",
+ content => "deb [arch=${::architecture}] https://download.docker.com/linux/${distro} ${::lsbdistcodename} stable\n",
require => File['/etc/apt/trusted.gpg.d/docker.gpg'],
notify => Exec['docker-apt-auto-update'],
}