diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-05-05 01:30:27 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-06-06 18:31:16 +0200 |
commit | a10167a79528b9c46b0d088112fa0642e24b9586 (patch) | |
tree | 580a0c1bd32b2f9ede454c22ce9aec5f8fc70cb3 | |
parent | Defalut values. (diff) | |
download | dns-a10167a79528b9c46b0d088112fa0642e24b9586.tar.gz dns-a10167a79528b9c46b0d088112fa0642e24b9586.tar.xz |
types
-rw-r--r-- | templates/zone.epp | 12 | ||||
-rw-r--r-- | types/zoneentry.pp | 10 |
2 files changed, 11 insertions, 11 deletions
diff --git a/templates/zone.epp b/templates/zone.epp index 76fac34..7f374d2 100644 --- a/templates/zone.epp +++ b/templates/zone.epp @@ -1,12 +1,12 @@ <%- | String $zone, String $mname, String $rname, - String $serial, - String $refresh, - String $retry, - String $expire, - String $negative_ttl, - String $default_ttl, + Integer[0,4294967295] $serial, + Dns::Ttl $refresh, + Dns::Ttl $retry, + Dns::Ttl $expire, + Dns::Ttl $negative_ttl, + Dns::Ttl $default_ttl, | -%> <%# The actual zonefile %> diff --git a/types/zoneentry.pp b/types/zoneentry.pp index 6f4fc0f..a862bd6 100644 --- a/types/zoneentry.pp +++ b/types/zoneentry.pp @@ -4,9 +4,9 @@ type Dns::Zoneentry = Struct[{ ns => Optional[Array[String]], records => Optional[Array[Dns::Recordentry]], update_policy => Optional[String], - refresh => Dns::Ttl, - retry => Dns::Ttl, - expire => Dns::Ttl, - negative_ttl => Dns::Ttl, - ttl => Dns::Ttl, + refresh => Optional[Dns::Ttl], + retry => Optional[Dns::Ttl], + expire => Optional[Dns::Ttl], + negative_ttl => Optional[Dns::Ttl], + ttl => Optional[Dns::Ttl], }] |