From 3c3afcfb580fa7c3e43412df8bd07b1f60c94ce2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 6 Jun 2023 21:41:12 +0200 Subject: Change to new DNS module. --- manifests/dns.pp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 manifests/dns.pp (limited to 'manifests/dns.pp') diff --git a/manifests/dns.pp b/manifests/dns.pp new file mode 100644 index 0000000..bd24bde --- /dev/null +++ b/manifests/dns.pp @@ -0,0 +1,10 @@ +# Simple profile for testing DNS module +class profiles::dns ( + Array[String] $realized_zones = [], +) { + include ::dns + + $realized_zones.each |$zone| { + Dns::Record <<| zone == $zone |>> + } +} -- cgit v1.2.3