aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bind
diff options
context:
space:
mode:
authorDan Fandrich <danf@mageia.org>2024-10-04 21:44:50 -0700
committerDan Fandrich <danf@mageia.org>2024-10-04 21:48:08 -0700
commitf5b2645d869b76598c18527d388ed76719c06bdd (patch)
tree659f3ee719b437817a02db4a31dbd37a65972412 /modules/bind
parentae1976228660588902a904f7509a106b790531cb (diff)
downloadpuppet-f5b2645d869b76598c18527d388ed76719c06bdd.tar
puppet-f5b2645d869b76598c18527d388ed76719c06bdd.tar.gz
puppet-f5b2645d869b76598c18527d388ed76719c06bdd.tar.bz2
puppet-f5b2645d869b76598c18527d388ed76719c06bdd.tar.xz
puppet-f5b2645d869b76598c18527d388ed76719c06bdd.zip
Revert "Use @ when accessing variables in templates"
Variables defined within a template can't be accessed with @. This change needs to be reworked to eliminate those cases. This reverts commits 2c7da665 and ae197622.
Diffstat (limited to 'modules/bind')
-rw-r--r--modules/bind/templates/named_master.conf4
-rw-r--r--modules/bind/templates/named_slave.conf2
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/bind/templates/named_master.conf b/modules/bind/templates/named_master.conf
index 09f6d124..30b3418f 100644
--- a/modules/bind/templates/named_master.conf
+++ b/modules/bind/templates/named_master.conf
@@ -8,9 +8,9 @@ zone "mageia.org" IN {
for tld in managed_tlds
%>
-zone "mageia.<%= @tld %>" IN {
+zone "mageia.<%= tld %>" IN {
type master;
- file "master/mageia.<%= @tld %>.zone";
+ file "master/mageia.<%= tld %>.zone";
allow-update { none; };
};
diff --git a/modules/bind/templates/named_slave.conf b/modules/bind/templates/named_slave.conf
index 846017ff..b59db37f 100644
--- a/modules/bind/templates/named_slave.conf
+++ b/modules/bind/templates/named_slave.conf
@@ -8,7 +8,7 @@ zone "mageia.org" IN {
for tld in managed_tlds
%>
-zone "mageia.<%= @tld %>" IN {
+zone "mageia.<%= tld %>" IN {
type master;
file "master/mageia.<= tld %>";
allow-update { 212.85.158.151; };