try to rolify dns
[mirror/dsa-puppet.git] / modules / roles / manifests / init.pp
index 6b17ea0..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
        }