diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-05-05 01:20:42 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-06-06 18:31:16 +0200 |
commit | 2c26ed92a46a4cc6469cf2a603f1268ada0434fb (patch) | |
tree | 6bd2ff3e3abe0c6bc8acb4b04ce860a8e86ee6a6 | |
parent | Add update_policy. (diff) | |
download | dns-2c26ed92a46a4cc6469cf2a603f1268ada0434fb.tar.gz dns-2c26ed92a46a4cc6469cf2a603f1268ada0434fb.tar.xz |
types
-rw-r--r-- | manifests/key.pp | 2 | ||||
-rw-r--r-- | types/keyentry.pp | 3 | ||||
-rw-r--r-- | types/recordentry.pp | 1 |
3 files changed, 4 insertions, 2 deletions
diff --git a/manifests/key.pp b/manifests/key.pp index 866bc70..f5a1897 100644 --- a/manifests/key.pp +++ b/manifests/key.pp @@ -10,7 +10,7 @@ # Name of key class dns::key ( String $algorithm, - Option[String, Sensitive[String]] $secret, + Variant[String, Sensitive[String]] $secret, String $keyname = $name, ) { concat::fragment { "Dns::Key - ${keyname}": diff --git a/types/keyentry.pp b/types/keyentry.pp index 2429758..f36e31f 100644 --- a/types/keyentry.pp +++ b/types/keyentry.pp @@ -1,4 +1,5 @@ type Dns::Keyentry = Struct[{ algorithm => String, - secret => String, + secret => Variant[String, Sensitive[String]], + keyname => Optional[String], }] diff --git a/types/recordentry.pp b/types/recordentry.pp index adcca7d..95a8045 100644 --- a/types/recordentry.pp +++ b/types/recordentry.pp @@ -4,4 +4,5 @@ type Dns::Recordentry = Struct[{ type => Dns::Rr, ttl => Optional[Dns::Ttl], dns_class => Optional[Dns::Class], + dns_name => Optional[String], }] |