]> gitweb.fluxo.info Git - puppet-docker.git/commitdiff
Support also architectures other than amd64
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 9 Nov 2017 18:40:34 +0000 (16:40 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 9 Nov 2017 18:40:34 +0000 (16:40 -0200)
manifests/init.pp

index 64be785f511190ef8cf3383b5f510ffedef84371..bcc106e5f138e90b22f6dcf0d8f5425fd9bf9cab 100644 (file)
@@ -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'],
   }