contributors -> hiera role; explicitly include apache2
authorPeter Palfrader <peter@palfrader.org>
Sun, 15 Sep 2019 13:20:03 +0000 (15:20 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sun, 15 Sep 2019 13:20:03 +0000 (15:20 +0200)
hieradata/common.yaml
hieradata/nodes/nono.debian.org.yaml
modules/roles/manifests/contributors.pp
modules/roles/manifests/init.pp

index a4f01d5..210636f 100644 (file)
@@ -35,8 +35,6 @@ staticsync::basedir: '/srv/static.debian.org'
 roles:
   bugsmx:
     - buxtehude.debian.org
-  contributors:
-    - nono.debian.org
   debtags:
     - tate.debian.org
   dns_primary:
index 6f30e7f..50b0935 100644 (file)
@@ -1,3 +1,4 @@
 ---
 classes:
+  - roles::contributors
   - roles::nm
index 856b84a..6750e05 100644 (file)
@@ -1,6 +1,7 @@
 class roles::contributors {
-       ssl::service { 'contributors.debian.org':
-               notify  => Exec['service apache2 reload'],
-               key => true,
-       }
+  include apache2
+  ssl::service { 'contributors.debian.org':
+    notify => Exec['service apache2 reload'],
+    key    => true,
+  }
 }
index ca72b6b..2e9f569 100644 (file)
@@ -119,10 +119,6 @@ class roles {
                include roles::sso_rp
        }
 
-       if has_role('contributors') {
-               include roles::contributors
-       }
-
        if has_role('postgres_backup_server') {
                include postgres::backup_server
        }