aboutsummaryrefslogtreecommitdiffstats
path: root/deployment
diff options
context:
space:
mode:
authorDan Fandrich <danf@mageia.org>2024-11-20 15:36:06 -0800
committerDan Fandrich <danf@mageia.org>2024-11-20 15:36:06 -0800
commit727145ed50d60655590c0199656c2378d32bfffc (patch)
tree3a95f1ba2f64656879be8c857470155c7bde398d /deployment
parent7766681f7ef95a3ad7e6c7c1a26f829ec02d776b (diff)
downloadpuppet-master.tar
puppet-master.tar.gz
puppet-master.tar.bz2
puppet-master.tar.xz
puppet-master.zip
Use @ when accessing variables in templatesHEADmaster
Access without the @ symbol is the older method and is discouraged. This take leaves alone accesses of variables that are defined within the template, which don't seem to allow an @. This is the second batch of files.
Diffstat (limited to 'deployment')
-rw-r--r--deployment/main_mirror/templates/rsyncd.conf6
-rw-r--r--deployment/releasekey/templates/sign_checksums2
-rw-r--r--deployment/reports/templates/socket.yaml2
3 files changed, 5 insertions, 5 deletions
diff --git a/deployment/main_mirror/templates/rsyncd.conf b/deployment/main_mirror/templates/rsyncd.conf
index b9186083..3d0f28a8 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 \
ftp.proxad.net \
jobbot0.ibiblio.org \
@@ -27,4 +27,4 @@ gid = nogroup
[git]
path = /git
comment = Mageia Git repos
- hosts allow = sucuk.<%= domain %>
+ hosts allow = sucuk.<%= @domain %>
diff --git a/deployment/releasekey/templates/sign_checksums b/deployment/releasekey/templates/sign_checksums
index 9483a1c9..5edf7e57 100644
--- a/deployment/releasekey/templates/sign_checksums
+++ b/deployment/releasekey/templates/sign_checksums
@@ -7,5 +7,5 @@ fi
directory=$1
cd "$directory"
for chksum in *.md5 *.sha3 *.sha512; do
- gpg --homedir "<%= sign_keydir %>" --yes --sign "$chksum"
+ gpg --homedir "<%= @sign_keydir %>" --yes --sign "$chksum"
done
diff --git a/deployment/reports/templates/socket.yaml b/deployment/reports/templates/socket.yaml
index 075d7a9f..6b0a8b33 100644
--- a/deployment/reports/templates/socket.yaml
+++ b/deployment/reports/templates/socket.yaml
@@ -1,2 +1,2 @@
---
-socket_path: /var/lib/ii/<%= nick %>/<%= server %>/<%= channel %>/in
+socket_path: /var/lib/ii/<%= @nick %>/<%= @server %>/<%= @channel %>/in