aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bind
diff options
context:
space:
mode:
authorDan Fandrich <danf@mageia.org>2024-10-04 19:28:06 -0700
committerDan Fandrich <danf@mageia.org>2024-10-04 19:28:06 -0700
commit2c7da66570999dcd21f11f976dc6ec27d820f45c (patch)
treeb97dd9f25df691c66b2be31b658cc6fec638d47e /modules/bind
parenta69863ece1973cf3eae488f30c657b57dfb89779 (diff)
downloadpuppet-2c7da66570999dcd21f11f976dc6ec27d820f45c.tar
puppet-2c7da66570999dcd21f11f976dc6ec27d820f45c.tar.gz
puppet-2c7da66570999dcd21f11f976dc6ec27d820f45c.tar.bz2
puppet-2c7da66570999dcd21f11f976dc6ec27d820f45c.tar.xz
puppet-2c7da66570999dcd21f11f976dc6ec27d820f45c.zip
Use @ when accessing variables in templates
Access without the @ symbol is the older method and is discouraged.
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 30b3418f..09f6d124 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 b59db37f..846017ff 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; };