From 1fed93e2f082ac9d471ccdfd35b102af3479d956 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 9 Nov 2017 16:40:34 -0200 Subject: Support also architectures other than amd64 --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'], } -- cgit v1.2.3