summaryrefslogtreecommitdiff
path: root/manifests/aaaa.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/aaaa.pp')
-rw-r--r--manifests/aaaa.pp28
1 files changed, 28 insertions, 0 deletions
diff --git a/manifests/aaaa.pp b/manifests/aaaa.pp
new file mode 100644
index 0000000..9466d0f
--- /dev/null
+++ b/manifests/aaaa.pp
@@ -0,0 +1,28 @@
+# = Definition: bind::aaaa
+#
+# Creates an IPv6 AAAA record.
+#
+# Arguments:
+# *$zone*: Bind::Zone name
+# *$owner*: owner of the Resource Record
+# *$host*: target of the Resource Record
+# *$ttl*: Time to Live for the Resource Record. Optional.
+#
+define bind::aaaa (
+ $zone,
+ $host,
+ $ensure = present,
+ $owner = false,
+ $ttl = false
+) {
+
+ bind::record {$name:
+ ensure => $ensure,
+ zone => $zone,
+ owner => $owner,
+ host => $host,
+ ttl => $ttl,
+ record_type => 'AAAA',
+ }
+
+}