From: Luca Filipozzi Date: Fri, 7 Mar 2014 05:09:45 +0000 (+0000) Subject: add some ugliness X-Git-Url: https://git.donarmstrong.com/?p=dsa-puppet.git;a=commitdiff_plain;h=03fbf64909fd0011aed135a5f31962c247e01be4 add some ugliness --- diff --git a/modules/named/templates/named.conf.puppet-shared-keys.erb b/modules/named/templates/named.conf.puppet-shared-keys.erb index e41e4aab..71cc4132 100644 --- a/modules/named/templates/named.conf.puppet-shared-keys.erb +++ b/modules/named/templates/named.conf.puppet-shared-keys.erb @@ -26,7 +26,11 @@ pairs.each do |pair| lines << "key #{keyname} { algorithm hmac-sha256; secret \"#{key}\"; };" - remote_ip = scope.lookupvar('site::allnodeinfo')[other]['ipHostNumber'] + if other == 'xfr0.easydns.com' + remote_ip = '64.68.200.91' + else + remote_ip = scope.lookupvar('site::allnodeinfo')[other]['ipHostNumber'] + end remote_ip.each do |r| lines << "server #{r} { keys { #{keyname}; }; };" end