From 90ed20d687a4524bc8225a8c33188681f5447e52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 6 Jun 2023 21:42:35 +0200 Subject: work. --- manifests/record.pp | 9 +++++---- manifests/zone.pp | 2 -- 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'manifests') 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', -- cgit v1.2.3