From: Silvio Rhatto Date: Thu, 9 Nov 2017 18:40:34 +0000 (-0200) Subject: Support also architectures other than amd64 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=1fed93e2f082ac9d471ccdfd35b102af3479d956;p=puppet-docker.git Support also architectures other than amd64 --- 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'], }