Upgrade phpBB3 importer template to work with Ubuntu 16.04
authorGerhard Schlager <mail@gerhard-schlager.at>
Wed, 25 May 2016 20:28:40 +0000 (22:28 +0200)
committerGerhard Schlager <mail@gerhard-schlager.at>
Thu, 26 May 2016 14:54:37 +0000 (16:54 +0200)
templates/import/phpbb3.template.yml

index 1cd745442ab06388ae2c8320c161da722fa9ba48..fafde3573aef9c95ca07afa5e2916c60cad20ea1 100644 (file)
@@ -18,14 +18,6 @@ hooks:
           - rm 01-nginx
           - rm 02-unicorn
 
-    - file:
-        path: /etc/apt/sources.list.d/mariadb.list
-        contents: |
-          # MariaDB 10.1 repository list
-          # http://mariadb.org/mariadb/repositories/
-          deb [arch=amd64,i386] http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu trusty main
-          deb-src http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu trusty main
-
     - file:
         path: /etc/apt/preferences.d/mariadb
         contents: |
@@ -50,7 +42,8 @@ hooks:
     - exec:
         cmd:
           - mkdir -p /shared/import/mysql/data
-          - apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
+          - apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
+          - add-apt-repository 'deb [arch=amd64,i386] http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu xenial main'
           - apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y nano libmariadbclient-dev mariadb-server
           - sed -Ei 's/^log/#&/' /etc/mysql/my.cnf