summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/record.pp9
-rw-r--r--manifests/zone.pp2
2 files changed, 5 insertions, 6 deletions
diff --git a/manifests/record.pp b/manifests/record.pp
index 2ecb52f..1b36a94 100644
--- a/manifests/record.pp
+++ b/manifests/record.pp
@@ -1,10 +1,7 @@
# @param type
# Record type (A, AAAA, ...)
-# @param class
+# @param cls
# DNS class type (IN, HS, CH, HS)
-# @param dns_name
-# Name of record (example.com.)
-# Note that the trailing period **IS** significant
# @param ttl
# TTL for record.
# @param duplicate
@@ -20,6 +17,10 @@
# Some record types have extra processing.
# TXT splits data into chunks of 255 characters (TODO shouldn't
# this be bytes) and the surrounds each chunk with quotation marks.
+# @param key
+# DNS key. Will be treated as absolute if ending with a period, or
+# relative to the zone if not. '@' for the "empty" key.
+# TODO tests for above?
define dns::record (
String $zone,
Dns::Rr $type,
diff --git a/manifests/zone.pp b/manifests/zone.pp
index 33c2b0d..1fee3d5 100644
--- a/manifests/zone.pp
+++ b/manifests/zone.pp
@@ -33,8 +33,6 @@
# @param soa_ttl
# TTL of SOA record.
define dns::zone (
- Boolean $manage_soa = true,
-
String $rname = undef,
String $mname = $ns[0],
Dns::Ttl $refresh = '24h',