X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Fnamed%2Ftemplates%2Fnamed.conf.puppet-shared-keys.erb;h=71cc4132199fe5164b544d2c0bc8607f9e57b766;hb=03fbf64909fd0011aed135a5f31962c247e01be4;hp=e41e4aab175655e9b3646499e99ded60486bd523;hpb=5d388b310d95f0209c5d7376515e94b2774a400c;p=dsa-puppet.git 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