aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/dns
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-03-20 17:30:35 +0000
committerMichael Scherer <misc@mageia.org>2012-03-20 17:30:35 +0000
commit5a16a5904963a471ba8fc56d8d8ffa148f010132 (patch)
treef2d1e4c4a078c97d753459e163d93b72885a4dd5 /deployment/dns
parentb433b11029408072497a67a94cc4afc5852a034c (diff)
downloadpuppet-5a16a5904963a471ba8fc56d8d8ffa148f010132.tar
puppet-5a16a5904963a471ba8fc56d8d8ffa148f010132.tar.gz
puppet-5a16a5904963a471ba8fc56d8d8ffa148f010132.tar.bz2
puppet-5a16a5904963a471ba8fc56d8d8ffa148f010132.tar.xz
puppet-5a16a5904963a471ba8fc56d8d8ffa148f010132.zip
adapt dns deployment to the new layout
Diffstat (limited to 'deployment/dns')
-rw-r--r--deployment/dns/manifests/init.pp15
1 files changed, 7 insertions, 8 deletions
diff --git a/deployment/dns/manifests/init.pp b/deployment/dns/manifests/init.pp
index 0df8e2ad..156b7f60 100644
--- a/deployment/dns/manifests/init.pp
+++ b/deployment/dns/manifests/init.pp
@@ -1,21 +1,20 @@
-
class dns {
class server {
- include bind::bind_master
- dns::zone { "mageia.org": }
+ include bind::master
+ dns::zone { 'mageia.org': }
- dns::reverse_zone { "7.0.0.0.2.0.0.0.8.7.1.2.2.0.a.2.ip6.arpa": }
- dns::reverse_zone { "2.1.0.0.0.0.0.1.b.0.e.0.1.0.a.2.ip6.arpa": }
+ dns::reverse_zone { '7.0.0.0.2.0.0.0.8.7.1.2.2.0.a.2.ip6.arpa': }
+ dns::reverse_zone { '2.1.0.0.0.0.0.1.b.0.e.0.1.0.a.2.ip6.arpa': }
}
define zone {
- bind::zone_master { $name:
+ bind::zone::master { $name:
content => template("dns/$name.zone")
- }
+ }
}
define reverse_zone {
- bind::zone_reverse { $name:
+ bind::zone::reverse { $name:
content => template("dns/$name.zone")
}
}