summaryrefslogtreecommitdiff
path: root/manifests/publish_dns.pp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--manifests/publish_dns.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/publish_dns.pp b/manifests/publish_dns.pp
new file mode 100644
index 0000000..bf5aa81
--- /dev/null
+++ b/manifests/publish_dns.pp
@@ -0,0 +1,11 @@
+class profiles::publish_dns (
+) {
+
+ @@dns_record { "AAAA automatic ${::fqdn}":
+ type => 'AAAA',
+ zone => $facts['domain'],
+ key => $facts['hostname'],
+ value => $facts['ipaddress6'],
+ }
+
+}