try to rolify dns
[mirror/dsa-puppet.git] / modules / roles / manifests / init.pp
index 28ea0ac..21559a8 100644 (file)
@@ -99,6 +99,13 @@ class roles {
                }
        }
 
+       if getfromhash($site::nodeinfo, 'dns_primary') {
+               include named::primary
+       }
+       if getfromhash($site::nodeinfo, 'dns_secondary') {
+               include named::authoritative
+       }
+
        if $::hostname in [ravel] {
                include roles::weblog_destination
        }
@@ -159,4 +166,10 @@ class roles {
                        notify => Service['apache2'],
                }
        }
+
+       if $::hostname in [franck] {
+               ssl::service { 'release.debian.org':
+                       notify => Service['apache2'],
+               }
+       }
 }