diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-01-17 18:37:05 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-01-17 18:37:05 +0000 |
commit | c0c7bab121a64de9d539618a788c80e875f4b161 (patch) | |
tree | e5d382130ba5dec75abcada54ed4843ed8f2dac2 /deployment | |
parent | 41f6c3a4957d4b918bb8dc3ad043bd388c100733 (diff) | |
download | puppet-c0c7bab121a64de9d539618a788c80e875f4b161.tar puppet-c0c7bab121a64de9d539618a788c80e875f4b161.tar.gz puppet-c0c7bab121a64de9d539618a788c80e875f4b161.tar.bz2 puppet-c0c7bab121a64de9d539618a788c80e875f4b161.tar.xz puppet-c0c7bab121a64de9d539618a788c80e875f4b161.zip |
dns: use nodes_ipaddr variable to set ns0 and ns1 IPs
Diffstat (limited to 'deployment')
-rw-r--r-- | deployment/dns/templates/mageia.org.zone | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/deployment/dns/templates/mageia.org.zone b/deployment/dns/templates/mageia.org.zone index 70520641..cb2c3e29 100644 --- a/deployment/dns/templates/mageia.org.zone +++ b/deployment/dns/templates/mageia.org.zone @@ -1,3 +1,6 @@ +<%- + nodes = scope.lookupvar('::nodes_ipaddr') +-%> ; puppet-distributed file ; local modifications will be lost ; $Id$ @@ -72,9 +75,9 @@ arm1 IN A 10.42.0.51 arm2 IN A 10.42.0.52 ; alamut -ns0 IN A 212.85.158.146 +ns0 IN A <%= nodes['alamut']['ipv4] %> ; krampouezh -ns1 IN A 95.142.164.207 +ns1 IN A <%= nodes['krampouezh']['ipv4'] %> ; aliases ;www IN CNAME www-zarb |