summaryrefslogtreecommitdiff
path: root/manifests/dns.pp
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-06-06 21:41:12 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-06-10 19:18:54 +0200
commit3c3afcfb580fa7c3e43412df8bd07b1f60c94ce2 (patch)
tree50b8659b6ebbc9aaa83d2420453ebfaa4d7a7245 /manifests/dns.pp
parentTransmission ADD trailing slashes. (diff)
downloadprofiles-3c3afcfb580fa7c3e43412df8bd07b1f60c94ce2.tar.gz
profiles-3c3afcfb580fa7c3e43412df8bd07b1f60c94ce2.tar.xz
Change to new DNS module.
Diffstat (limited to '')
-rw-r--r--manifests/dns.pp10
1 files changed, 10 insertions, 0 deletions
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 |>>
+ }
+}