]> gitweb.fluxo.info Git - puppet-bind.git/commitdiff
file renaming to be compliant with recommended module structure.
authorMarc Fournier <marc.fournier@camptocamp.com>
Tue, 15 Nov 2011 12:13:29 +0000 (13:13 +0100)
committerMarc Fournier <marc.fournier@camptocamp.com>
Tue, 15 Nov 2011 12:13:29 +0000 (13:13 +0100)
manifests/a.pp [moved from manifests/definitions/bind-a.pp with 100% similarity]
manifests/aaaa.pp [moved from manifests/definitions/bind-aaaa.pp with 100% similarity]
manifests/base.pp [moved from manifests/classes/bind-base.pp with 100% similarity]
manifests/classes/bind.pp [deleted file]
manifests/cname.pp [moved from manifests/definitions/bind-cname.pp with 100% similarity]
manifests/debian.pp [moved from manifests/classes/bind-debian.pp with 100% similarity]
manifests/init.pp
manifests/mx.pp [moved from manifests/definitions/bind-mx.pp with 100% similarity]
manifests/ns.pp [moved from manifests/definitions/bind-ns.pp with 100% similarity]
manifests/record.pp [moved from manifests/definitions/bind-record.pp with 100% similarity]
manifests/zone.pp [moved from manifests/definitions/bind-zone.pp with 100% similarity]

diff --git a/manifests/classes/bind.pp b/manifests/classes/bind.pp
deleted file mode 100644 (file)
index d9af708..0000000
+++ /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" }
-  }
-}
index 6cc196984538866527976cfecefe39bf4de9c63c..d9af70871d8c5acbe017adddabe8ee910d8b2051 100644 (file)
@@ -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" }
+  }
+}