From e5197cb140500340e5800028cf47261fd9665942 Mon Sep 17 00:00:00 2001 From: Holm der Kannenzwerg Date: Wed, 18 Dec 2024 07:40:44 +0100 Subject: [PATCH] minor optimisations applied --- README.md | 6 +++--- manifests/init.pp | 34 +++++++++++++++++----------------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index d5eb971..4d7b0ec 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,7 @@ bind::zone::primary { 'example.com': ``` Or with hiera ```puppet -bind::zone::primarys: +bind::zone::primaries: example.com: source: 'puppet:///modules/profile/dns/example.com.zone' ``` @@ -181,12 +181,12 @@ bind::zone::primary { 'example.net': ``` Or with hiera ```puppet -bind::dnssec_policys: +bind::dnssec_policies: standard: csk_lifetime: unlimited csk_algorithm: ecdsap256sha256 -bind::zone::primarys: +bind::zone::primaries: example.net: dnssec_policy: standard inline_signing: true diff --git a/manifests/init.pp b/manifests/init.pp index c2582c3..5c320f7 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -329,9 +329,9 @@ # Hash of `bind::amls` resources. # source the hash of bind::amls and trigger the class bind::aml # -# @param dnssec_policys -# Hash of `bind::dnssec_policys` resources. -# source the hash of bind::dnssec_policys and trigger the class bind::dnssec_policy +# @param dnssec_policies +# Hash of `bind::dnssec_policies` resources. +# source the hash of bind::dnssec_policies and trigger the class bind::dnssec_policy # # @param keys # Hash of `bind::keys` resources. @@ -353,9 +353,9 @@ # Hash of `bind::controls::unixs` resources. # source the hash of bind::controls::unixs and trigger the class bind::controls::unix # -# @param logging_categorys -# Hash of `bind::logging::categorys` resources. -# source the hash of bind::logging::categorys and trigger the class bind::logging::category +# @param logging_categories +# Hash of `bind::logging::categories` resources. +# source the hash of bind::logging::categories and trigger the class bind::logging::category # # @param logging_channel_files # Hash of `bind::logging::channel_files` resources. @@ -381,13 +381,13 @@ # Hash of `bind::zone::mirrors` resources. # source the hash of bind::zone::mirrors and trigger the class bind::zone::mirror # -# @param zone_primarys -# Hash of `bind::zone::primarys` resources. -# source the hash of bind::zone::primarys and trigger the class bind::zone::primary +# @param zone_primaries +# Hash of `bind::zone::primaries` resources. +# source the hash of bind::zone::primaries and trigger the class bind::zone::primary # -# @param zone_secondarys -# Hash of `bind::zone::secondarys` resources. -# source the hash of bind::zone::secondarys and trigger the class bind::zone::secondary +# @param zone_secondaries +# Hash of `bind::zone::secondaries` resources. +# source the hash of bind::zone::secondaries and trigger the class bind::zone::secondary # class bind ( Stdlib::Absolutepath $confdir, @@ -1042,7 +1042,7 @@ } } - $dnssec_policys.each |$key, $value| { + $dnssec_policies.each |$key, $value| { bind::dnssec_policy { $key: * => $value, } @@ -1072,13 +1072,13 @@ } } - $controls_unixs.each |$key, $value| { + $controls_unixes.each |$key, $value| { bind::controls::unix { $key: * => $value, } } - $logging_categorys.each |$key, $value| { + $logging_categories.each |$key, $value| { bind::logging::category { $key: * => $value, } @@ -1120,13 +1120,13 @@ } } - $zone_primarys.each |$key, $value| { + $zone_primaries.each |$key, $value| { bind::zone::primary { $key: * => $value, } } - $zone_secondarys.each |$key, $value| { + $zone_secondaries.each |$key, $value| { bind::zone::secondary { $key: * => $value, }