add a kanboard role
authorJulien Cristau <jcristau@debian.org>
Tue, 8 May 2018 10:36:13 +0000 (12:36 +0200)
committerJulien Cristau <jcristau@debian.org>
Tue, 8 May 2018 10:36:13 +0000 (12:36 +0200)
hieradata/common.yaml
modules/roles/manifests/init.pp

index 851389e..e66ccce 100644 (file)
@@ -355,3 +355,5 @@ roles:
     - grabbe.debian.org
   snapshot_web:
     - sallinen.debian.org
+  kanboard:
+    - kantuser.debian.org
index e5c8e3a..b17314f 100644 (file)
@@ -383,4 +383,11 @@ class roles {
        if has_role('alioth_archive') {
                include roles::alioth_archive
        }
+
+       if has_role('kanboard') {
+               include apache2
+               package {'php-gd': ensure => installed }
+               package {'php-pgsql': ensure => installed }
+               package {'libapache2-mod-php': ensure => installed }
+       }
 }