From c0c7bab121a64de9d539618a788c80e875f4b161 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Thu, 17 Jan 2013 18:37:05 +0000 Subject: dns: use nodes_ipaddr variable to set ns0 and ns1 IPs --- deployment/dns/templates/mageia.org.zone | 7 +++++-- 1 file 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 -- cgit v1.2.1