From: Stephen Gran Date: Sun, 7 Jun 2009 01:13:30 +0000 (+0100) Subject: We push this with a Makefile for now X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=66a98d3bdfab8b0fe00bf3f54479996c5feaceef;p=mirror%2Fdsa-puppet.git We push this with a Makefile for now Signed-off-by: Stephen Gran --- diff --git a/modules/geodns/files/common/named.conf.geo b/modules/geodns/files/common/named.conf.geo deleted file mode 100644 index 8c21bb679..000000000 --- a/modules/geodns/files/common/named.conf.geo +++ /dev/null @@ -1,126 +0,0 @@ -// -// THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE. -// USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git -// - -view "Africa" { - match-clients { - Africa; - }; - zone "security.debian.org" { - type master; - file "/etc/bind/db.security.debian.org.AF"; - notify no; - }; - zone "security.geo.debian.org" { - type master; - file "/etc/bind/db.security.debian.org.AF"; - notify no; - }; -}; - -view "Asia" { - match-clients { - Asia; - }; - zone "security.debian.org" { - type master; - file "/etc/bind/db.security.debian.org.AS"; - notify no; - }; - zone "security.geo.debian.org" { - type master; - file "/etc/bind/db.security.debian.org.AS"; - notify no; - }; -}; - -view "Europe" { - match-clients { - Europe; - }; - zone "security.debian.org" { - type master; - file "/etc/bind/db.security.debian.org.EU"; - notify no; - }; - zone "security.geo.debian.org" { - type master; - file "/etc/bind/db.security.debian.org.EU"; - notify no; - }; -}; - -view "NorthAmerica" { - match-clients { - NorthAmerica; - }; - zone "security.debian.org" { - type master; - file "/etc/bind/db.security.debian.org.NA"; - notify no; - }; - zone "security.geo.debian.org" { - type master; - file "/etc/bind/db.security.debian.org.NA"; - notify no; - }; -}; -view "SouthAmerica" { - match-clients { - SouthAmerica; - }; - zone "security.debian.org" { - type master; - file "/etc/bind/db.security.debian.org.SA"; - notify no; - }; - zone "security.geo.debian.org" { - type master; - file "/etc/bind/db.security.debian.org.SA"; - notify no; - }; -}; -view "Oceania" { - match-clients { - Oceania; - }; - zone "security.debian.org" { - type master; - file "/etc/bind/db.security.debian.org.OC"; - notify no; - }; - zone "security.geo.debian.org" { - type master; - file "/etc/bind/db.security.debian.org.OC"; - notify no; - }; -}; -view "Antarctica" { - match-clients { - Antarctica; - }; - zone "security.debian.org" { - type master; - file "/etc/bind/db.security.debian.org.AN"; - notify no; - }; - zone "security.geo.debian.org" { - type master; - file "/etc/bind/db.security.debian.org.AN"; - notify no; - }; -}; -view "other" { - match-clients { any; }; - zone "security.debian.org" { - type master; - file "/etc/bind/db.security.debian.org"; - notify no; - }; - zone "security.geo.debian.org" { - type master; - file "/etc/bind/db.security.debian.org"; - notify no; - }; -}; diff --git a/modules/geodns/manifests/init.pp b/modules/geodns/manifests/init.pp index a0397d07e..27d236593 100644 --- a/modules/geodns/manifests/init.pp +++ b/modules/geodns/manifests/init.pp @@ -17,14 +17,6 @@ class geodns { owner => root, group => root, ; - "/etc/bind/named.conf.geo": - source => [ "puppet:///geodns/per-host/$fqdn/named.conf.geo", - "puppet:///geodns/common/named.conf.geo" ], - require => Package["bind9"], - notify => Exec["bind9 restart"], - owner => root, - group => root, - ; "/etc/bind/named.conf.acl": source => [ "puppet:///geodns/per-host/$fqdn/named.conf.acl", "puppet:///geodns/common/named.conf.acl" ],