fix: enable dynamic/tsig updates

- add eyaml to hiera.yaml
- consolidate all paths into single tree
- change to new profiles::dns::client wrapper
- change to new profiles::dns::record wrapper
- change to use concat method to build zone file
This commit is contained in:
2023-11-13 22:17:59 +11:00
parent 4b0b2b1ed0
commit c996c9b7e3
11 changed files with 149 additions and 37 deletions
@@ -0,0 +1,16 @@
; Managed by Puppet, do not change manually
$ORIGIN <%= @zone %>.
$TTL 600
@ IN SOA <%= @nameservers[0] %>. hostmaster.<%= @zone %>. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
600 ) ; Negative Cache TTL
; Name servers
<% @nameservers.each do |ns| -%>
@ IN NS <%= ns %>.
<% end %>
; Dynamically generated host records