From: Peter Palfrader Date: Wed, 1 Jan 2014 20:45:52 +0000 (+0100) Subject: remove another hardcoding of hostnames X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;ds=sidebyside;h=1db723da979efce55e3ae523eaf0a82e2d7b29c5;p=dsa-puppet.git remove another hardcoding of hostnames --- diff --git a/modules/named/templates/named.conf.options.erb b/modules/named/templates/named.conf.options.erb index f5e5b390..638c8df0 100644 --- a/modules/named/templates/named.conf.options.erb +++ b/modules/named/templates/named.conf.options.erb @@ -43,7 +43,7 @@ options { dnssec-validation yes; <% end -%> -<% if %w{senfl ravel orff diamond rietz}.include?(hostname) -%> +<% if classes.include?('named::authoritative') -%> rate-limit { responses-per-second 25; window 5;