]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/roles/manifests/init.pp
try to rolify dns
[dsa-puppet.git] / modules / roles / manifests / init.pp
index 6b17ea0f65d0cfb591dd78cb6a47d18b98c713c3..21559a8bc11d37bb1560c7c03c617be5f1877820 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
        }