summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/a.pp (renamed from manifests/definitions/bind-a.pp)0
-rw-r--r--manifests/aaaa.pp (renamed from manifests/definitions/bind-aaaa.pp)0
-rw-r--r--manifests/base.pp (renamed from manifests/classes/bind-base.pp)0
-rw-r--r--manifests/classes/bind.pp54
-rw-r--r--manifests/cname.pp (renamed from manifests/definitions/bind-cname.pp)0
-rw-r--r--manifests/debian.pp (renamed from manifests/classes/bind-debian.pp)0
-rw-r--r--manifests/init.pp56
-rw-r--r--manifests/mx.pp (renamed from manifests/definitions/bind-mx.pp)0
-rw-r--r--manifests/ns.pp (renamed from manifests/definitions/bind-ns.pp)0
-rw-r--r--manifests/record.pp (renamed from manifests/definitions/bind-record.pp)0
-rw-r--r--manifests/zone.pp (renamed from manifests/definitions/bind-zone.pp)0
11 files changed, 54 insertions, 56 deletions
diff --git a/manifests/definitions/bind-a.pp b/manifests/a.pp
index 3f30187..3f30187 100644
--- a/manifests/definitions/bind-a.pp
+++ b/manifests/a.pp
diff --git a/manifests/definitions/bind-aaaa.pp b/manifests/aaaa.pp
index 80291c2..80291c2 100644
--- a/manifests/definitions/bind-aaaa.pp
+++ b/manifests/aaaa.pp
diff --git a/manifests/classes/bind-base.pp b/manifests/base.pp
index c442085..c442085 100644
--- a/manifests/classes/bind-base.pp
+++ b/manifests/base.pp
diff --git a/manifests/classes/bind.pp b/manifests/classes/bind.pp
deleted file mode 100644
index d9af708..0000000
--- a/manifests/classes/bind.pp
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
-
-= Class: bind
-Include this class to install bind9 server on your node.
-
-Requires:
-- module common (git://github.com/camptocamp/puppet-common.git)
-
-Bind documentation:
-http://www.bind9.net/manuals
-
-Limitations:
-This modules is valid for Bind 9.7.1 (squeeze version).
-For 9.7.2, it will be really limited (no view nor ACL support).
-
-
-Example:
-
-node "ns1.domain.ltd" {
- include bind
- bind::zone {"domain.ltd":
- ensure => present,
- zone_contact => "contact.domain.ltd",
- zone_ns => $fqdn,
- zone_serial => "2010110804",
- zone_ttl => "604800",
- }
-
- bind::a {"ns $fqdn":
- zone => "domain.ltd",
- owner => "${fqdn}.",
- host => $ipaddress,
- }
-
- bind::a {"mail.domain.ltd":
- zone => "domain.ltd",
- owner => "mail",
- host => "6.6.6.6",
- }
-
- bind::mx {"mx1":
- zone => "domain.ltd",
- owner => "@",
- priority => 1,
- host => "mail.domain.ltd",
- }
-}
-*/
-class bind {
- case $operatingsystem {
- "Debian","Ubuntu": { include bind::debian }
- default: { fail "Unknown $operatingsystem" }
- }
-}
diff --git a/manifests/definitions/bind-cname.pp b/manifests/cname.pp
index c8baeec..c8baeec 100644
--- a/manifests/definitions/bind-cname.pp
+++ b/manifests/cname.pp
diff --git a/manifests/classes/bind-debian.pp b/manifests/debian.pp
index 7b752ae..7b752ae 100644
--- a/manifests/classes/bind-debian.pp
+++ b/manifests/debian.pp
diff --git a/manifests/init.pp b/manifests/init.pp
index 6cc1969..d9af708 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -1,2 +1,54 @@
-import "classes/*.pp"
-import "definitions/*.pp"
+/*
+
+= Class: bind
+Include this class to install bind9 server on your node.
+
+Requires:
+- module common (git://github.com/camptocamp/puppet-common.git)
+
+Bind documentation:
+http://www.bind9.net/manuals
+
+Limitations:
+This modules is valid for Bind 9.7.1 (squeeze version).
+For 9.7.2, it will be really limited (no view nor ACL support).
+
+
+Example:
+
+node "ns1.domain.ltd" {
+ include bind
+ bind::zone {"domain.ltd":
+ ensure => present,
+ zone_contact => "contact.domain.ltd",
+ zone_ns => $fqdn,
+ zone_serial => "2010110804",
+ zone_ttl => "604800",
+ }
+
+ bind::a {"ns $fqdn":
+ zone => "domain.ltd",
+ owner => "${fqdn}.",
+ host => $ipaddress,
+ }
+
+ bind::a {"mail.domain.ltd":
+ zone => "domain.ltd",
+ owner => "mail",
+ host => "6.6.6.6",
+ }
+
+ bind::mx {"mx1":
+ zone => "domain.ltd",
+ owner => "@",
+ priority => 1,
+ host => "mail.domain.ltd",
+ }
+}
+*/
+class bind {
+ case $operatingsystem {
+ "Debian","Ubuntu": { include bind::debian }
+ default: { fail "Unknown $operatingsystem" }
+ }
+}
diff --git a/manifests/definitions/bind-mx.pp b/manifests/mx.pp
index 84a2b9f..84a2b9f 100644
--- a/manifests/definitions/bind-mx.pp
+++ b/manifests/mx.pp
diff --git a/manifests/definitions/bind-ns.pp b/manifests/ns.pp
index 3d07aea..3d07aea 100644
--- a/manifests/definitions/bind-ns.pp
+++ b/manifests/ns.pp
diff --git a/manifests/definitions/bind-record.pp b/manifests/record.pp
index d551d60..d551d60 100644
--- a/manifests/definitions/bind-record.pp
+++ b/manifests/record.pp
diff --git a/manifests/definitions/bind-zone.pp b/manifests/zone.pp
index 64da5da..64da5da 100644
--- a/manifests/definitions/bind-zone.pp
+++ b/manifests/zone.pp