diff options
author | Dan Fandrich <danf@mageia.org> | 2024-10-04 19:28:06 -0700 |
---|---|---|
committer | Dan Fandrich <danf@mageia.org> | 2024-10-04 19:28:06 -0700 |
commit | 2c7da66570999dcd21f11f976dc6ec27d820f45c (patch) | |
tree | b97dd9f25df691c66b2be31b658cc6fec638d47e /deployment/dns/templates/mageia.org.zone | |
parent | a69863ece1973cf3eae488f30c657b57dfb89779 (diff) | |
download | puppet-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 'deployment/dns/templates/mageia.org.zone')
-rw-r--r-- | deployment/dns/templates/mageia.org.zone | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/deployment/dns/templates/mageia.org.zone b/deployment/dns/templates/mageia.org.zone index 1dba603e..c2f24166 100644 --- a/deployment/dns/templates/mageia.org.zone +++ b/deployment/dns/templates/mageia.org.zone @@ -49,27 +49,27 @@ group IN MX 20 neru.mageia.org. nodes_txt += nodename + ' IN TXT "v=spf1 ' + spf + ' mx:mageia.org ~all" ' + "\n" } -%> -<%= nodes_txt %> +<%= @nodes_txt %> ;SSHFP ; sucuk -ns0 IN A <%= nodes['sucuk']['ipv4'] %> -ns0 IN AAAA <%= nodes['sucuk']['ipv6'] %> +ns0 IN A <%= @nodes['sucuk']['ipv4'] %> +ns0 IN AAAA <%= @nodes['sucuk']['ipv6'] %> ; neru -ns1 IN A <%= nodes['neru']['ipv4'] %> -ns1 IN AAAA <%= nodes['neru']['ipv6'] %> +ns1 IN A <%= @nodes['neru']['ipv4'] %> +ns1 IN AAAA <%= @nodes['neru']['ipv6'] %> ; mageia.org set to IP of neru -mageia.org. IN A <%= nodes['neru']['ipv4'] %> -mageia.org. IN AAAA <%= nodes['neru']['ipv6'] %> +mageia.org. IN A <%= @nodes['neru']['ipv4'] %> +mageia.org. IN AAAA <%= @nodes['neru']['ipv6'] %> ; madb on mageia.madb.org madb IN A 163.172.201.211 ; since we have a subdomain, we cannot use a CNAME -ml IN A <%= nodes['sucuk']['ipv4'] %> -ml IN AAAA <%= nodes['sucuk']['ipv6'] %> +ml IN A <%= @nodes['sucuk']['ipv4'] %> +ml IN AAAA <%= @nodes['sucuk']['ipv6'] %> ; aliases ldap-slave-1 IN CNAME neru @@ -108,7 +108,7 @@ forum IN CNAME sucuk bugs IN CNAME sucuk check IN CNAME sucuk gitweb IN CNAME sucuk -identity IN A <%= nodes['sucuk']['ipv4'] %> +identity IN A <%= @nodes['sucuk']['ipv4'] %> identity-trunk IN CNAME sucuk mirrors IN CNAME sucuk nav IN CNAME sucuk |