summaryrefslogtreecommitdiff
path: root/manifests/aaaa.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/aaaa.pp')
-rw-r--r--manifests/aaaa.pp44
1 files changed, 22 insertions, 22 deletions
diff --git a/manifests/aaaa.pp b/manifests/aaaa.pp
index 80291c2..9466d0f 100644
--- a/manifests/aaaa.pp
+++ b/manifests/aaaa.pp
@@ -1,27 +1,27 @@
-/*
-
-= 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($ensure=present,
- $zone,
- $owner=false,
- $host,
- $ttl=false) {
+# = 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,
+ ensure => $ensure,
+ zone => $zone,
+ owner => $owner,
+ host => $host,
+ ttl => $ttl,
record_type => 'AAAA',
}