aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/main_mirror
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 /deployment/main_mirror
parenta69863ece1973cf3eae488f30c657b57dfb89779 (diff)
downloadpuppet-2c7da665.tar
puppet-2c7da665.tar.gz
puppet-2c7da665.tar.bz2
puppet-2c7da665.tar.xz
puppet-2c7da665.zip
Use @ when accessing variables in templates
Access without the @ symbol is the older method and is discouraged.
Diffstat (limited to 'deployment/main_mirror')
-rw-r--r--deployment/main_mirror/templates/rsyncd.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/deployment/main_mirror/templates/rsyncd.conf b/deployment/main_mirror/templates/rsyncd.conf
index 3053251d..b023e8e2 100644
--- a/deployment/main_mirror/templates/rsyncd.conf
+++ b/deployment/main_mirror/templates/rsyncd.conf
@@ -9,8 +9,8 @@ gid = nogroup
hosts allow = \
10.42.0.0/24 \
2a02:2178:2:7::/64 \
- rabbit.<%= domain %> \
- sucuk.<%= domain %> \
+ rabbit.<%= @domain %> \
+ sucuk.<%= @domain %> \
distrib-coffee.ipsl.jussieu.fr \
distribipsl.aero.jussieu.fr \
jobbot0.ibiblio.org \
@@ -52,4 +52,4 @@ gid = nogroup
[git]
path = /git
comment = Mageia Git repos
- hosts allow = sucuk.<%= domain %>
+ hosts allow = sucuk.<%= @domain %>