Remove no longer requried foodcritic customisations
authorTom Hughes <tom@compton.nu>
Mon, 9 Sep 2019 21:08:23 +0000 (22:08 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 9 Sep 2019 21:08:23 +0000 (22:08 +0100)
91 files changed:
cookbooks/accounts/.foodcritic [deleted file]
cookbooks/apache/.foodcritic [deleted file]
cookbooks/apache/resources/module.rb
cookbooks/apt/.foodcritic [deleted file]
cookbooks/backup/.foodcritic [deleted file]
cookbooks/bind/.foodcritic [deleted file]
cookbooks/blog/.foodcritic [deleted file]
cookbooks/blogs/.foodcritic [deleted file]
cookbooks/cgiirc/.foodcritic [deleted file]
cookbooks/chef/.foodcritic [deleted file]
cookbooks/civicrm/.foodcritic [deleted file]
cookbooks/clamav/.foodcritic [deleted file]
cookbooks/db/.foodcritic [deleted file]
cookbooks/dev/.foodcritic [deleted file]
cookbooks/devices/.foodcritic [deleted file]
cookbooks/dhcpd/.foodcritic [deleted file]
cookbooks/dmca/.foodcritic [deleted file]
cookbooks/dns/.foodcritic [deleted file]
cookbooks/donate/.foodcritic [deleted file]
cookbooks/elasticsearch/.foodcritic [deleted file]
cookbooks/exim/.foodcritic [deleted file]
cookbooks/exim/recipes/default.rb
cookbooks/fail2ban/.foodcritic [deleted file]
cookbooks/forum/.foodcritic [deleted file]
cookbooks/foundation/.foodcritic [deleted file]
cookbooks/ftp/.foodcritic [deleted file]
cookbooks/geodns/.foodcritic [deleted file]
cookbooks/git/.foodcritic [deleted file]
cookbooks/gps-tile/.foodcritic [deleted file]
cookbooks/hardware/.foodcritic [deleted file]
cookbooks/hot/.foodcritic [deleted file]
cookbooks/imagery/.foodcritic [deleted file]
cookbooks/incron/.foodcritic [deleted file]
cookbooks/kibana/.foodcritic [deleted file]
cookbooks/letsencrypt/.foodcritic [deleted file]
cookbooks/logstash/.foodcritic [deleted file]
cookbooks/logstash/recipes/default.rb
cookbooks/mailman/.foodcritic [deleted file]
cookbooks/mediawiki/.foodcritic [deleted file]
cookbooks/mediawiki/resources/extension.rb
cookbooks/mediawiki/resources/site.rb
cookbooks/mediawiki/resources/skin.rb
cookbooks/memcached/.foodcritic [deleted file]
cookbooks/munin/.foodcritic [deleted file]
cookbooks/munin/recipes/default.rb
cookbooks/munin/recipes/server.rb
cookbooks/munin/resources/plugin.rb
cookbooks/mysql/.foodcritic [deleted file]
cookbooks/networking/.foodcritic [deleted file]
cookbooks/networking/recipes/default.rb
cookbooks/nfs/.foodcritic [deleted file]
cookbooks/nginx/.foodcritic [deleted file]
cookbooks/nodejs/.foodcritic [deleted file]
cookbooks/nominatim/.foodcritic [deleted file]
cookbooks/nominatim/recipes/default.rb
cookbooks/ntp/.foodcritic [deleted file]
cookbooks/ohai/.foodcritic [deleted file]
cookbooks/openssh/.foodcritic [deleted file]
cookbooks/openssh/recipes/default.rb
cookbooks/openvpn/.foodcritic [deleted file]
cookbooks/osmosis/.foodcritic [deleted file]
cookbooks/osqa/.foodcritic [deleted file]
cookbooks/otrs/.foodcritic [deleted file]
cookbooks/passenger/.foodcritic [deleted file]
cookbooks/piwik/.foodcritic [deleted file]
cookbooks/planet/.foodcritic [deleted file]
cookbooks/postgresql/.foodcritic [deleted file]
cookbooks/python/.foodcritic [deleted file]
cookbooks/roundup/.foodcritic [deleted file]
cookbooks/rsyncd/.foodcritic [deleted file]
cookbooks/serverinfo/.foodcritic [deleted file]
cookbooks/snmpd/.foodcritic [deleted file]
cookbooks/spamassassin/.foodcritic [deleted file]
cookbooks/squid/.foodcritic [deleted file]
cookbooks/ssl/.foodcritic [deleted file]
cookbooks/stateofthemap/.foodcritic [deleted file]
cookbooks/subversion/.foodcritic [deleted file]
cookbooks/supybot/.foodcritic [deleted file]
cookbooks/switch2osm/.foodcritic [deleted file]
cookbooks/sysctl/.foodcritic [deleted file]
cookbooks/sysfs/.foodcritic [deleted file]
cookbooks/systemd/.foodcritic [deleted file]
cookbooks/taginfo/.foodcritic [deleted file]
cookbooks/tile/.foodcritic [deleted file]
cookbooks/tilecache/.foodcritic [deleted file]
cookbooks/tilelog/.foodcritic [deleted file]
cookbooks/tools/.foodcritic [deleted file]
cookbooks/trac/.foodcritic [deleted file]
cookbooks/web/.foodcritic [deleted file]
cookbooks/wiki/.foodcritic [deleted file]
cookbooks/wordpress/.foodcritic [deleted file]

diff --git a/cookbooks/accounts/.foodcritic b/cookbooks/accounts/.foodcritic
deleted file mode 100644 (file)
index 53c271a..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-~FC001
-~FC003
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/apache/.foodcritic b/cookbooks/apache/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
index 7e45b78..0ac0f8f 100644 (file)
@@ -28,7 +28,7 @@ property :restart_apache, :kind_of => [TrueClass, FalseClass], :default => true
 action :install do
   declare_resource :package, package_name unless installed?
 
-  if new_resource.conf # ~FC023
+  if new_resource.conf
     template available_name("conf") do
       source new_resource.conf
       owner "root"
diff --git a/cookbooks/apt/.foodcritic b/cookbooks/apt/.foodcritic
deleted file mode 100644 (file)
index 6f71407..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
-~FC074
diff --git a/cookbooks/backup/.foodcritic b/cookbooks/backup/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/bind/.foodcritic b/cookbooks/bind/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/blog/.foodcritic b/cookbooks/blog/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/blogs/.foodcritic b/cookbooks/blogs/.foodcritic
deleted file mode 100644 (file)
index 53c271a..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-~FC001
-~FC003
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/cgiirc/.foodcritic b/cookbooks/cgiirc/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/chef/.foodcritic b/cookbooks/chef/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/civicrm/.foodcritic b/cookbooks/civicrm/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/clamav/.foodcritic b/cookbooks/clamav/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/db/.foodcritic b/cookbooks/db/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/dev/.foodcritic b/cookbooks/dev/.foodcritic
deleted file mode 100644 (file)
index 53c271a..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-~FC001
-~FC003
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/devices/.foodcritic b/cookbooks/devices/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/dhcpd/.foodcritic b/cookbooks/dhcpd/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/dmca/.foodcritic b/cookbooks/dmca/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/dns/.foodcritic b/cookbooks/dns/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/donate/.foodcritic b/cookbooks/donate/.foodcritic
deleted file mode 100644 (file)
index 15ed978..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-~FC001
-~FC034
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/elasticsearch/.foodcritic b/cookbooks/elasticsearch/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/exim/.foodcritic b/cookbooks/exim/.foodcritic
deleted file mode 100644 (file)
index 53c271a..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-~FC001
-~FC003
-~FC064
-~FC065
-~FC066
-~FC071
index 7c80f9a..9413318 100644 (file)
@@ -156,7 +156,7 @@ else
   end
 end
 
-if node[:exim][:smarthost_via] # ~FC023
+if node[:exim][:smarthost_via]
   firewall_rule "deny-outbound-smtp" do
     action :reject
     source "fw"
diff --git a/cookbooks/fail2ban/.foodcritic b/cookbooks/fail2ban/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/forum/.foodcritic b/cookbooks/forum/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/foundation/.foodcritic b/cookbooks/foundation/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/ftp/.foodcritic b/cookbooks/ftp/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/geodns/.foodcritic b/cookbooks/geodns/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/git/.foodcritic b/cookbooks/git/.foodcritic
deleted file mode 100644 (file)
index 53c271a..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-~FC001
-~FC003
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/gps-tile/.foodcritic b/cookbooks/gps-tile/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/hardware/.foodcritic b/cookbooks/hardware/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/hot/.foodcritic b/cookbooks/hot/.foodcritic
deleted file mode 100644 (file)
index b0f9b4b..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC003
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/imagery/.foodcritic b/cookbooks/imagery/.foodcritic
deleted file mode 100644 (file)
index e14faa4..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-~FC001
-~FC005
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/incron/.foodcritic b/cookbooks/incron/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/kibana/.foodcritic b/cookbooks/kibana/.foodcritic
deleted file mode 100644 (file)
index 53c271a..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-~FC001
-~FC003
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/letsencrypt/.foodcritic b/cookbooks/letsencrypt/.foodcritic
deleted file mode 100644 (file)
index 53c271a..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-~FC001
-~FC003
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/logstash/.foodcritic b/cookbooks/logstash/.foodcritic
deleted file mode 100644 (file)
index 5633336..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-~FC001
-~FC003
-~FC019
-~FC064
-~FC065
-~FC066
-~FC071
index c97882d..babff56 100644 (file)
@@ -74,7 +74,7 @@ template "/etc/cron.daily/expire-logstash" do
   mode 0o755
 end
 
-forwarders = search(:node, "recipes:logstash\\:\\:forwarder") # ~FC010
+forwarders = search(:node, "recipes:logstash\\:\\:forwarder")
 
 forwarders.sort_by { |n| n[:fqdn] }.each do |forwarder|
   forwarder.interfaces(:role => :external) do |interface|
@@ -100,7 +100,7 @@ forwarders.sort_by { |n| n[:fqdn] }.each do |forwarder|
   end
 end
 
-gateways = search(:node, "roles:gateway") # ~FC010
+gateways = search(:node, "roles:gateway")
 
 gateways.sort_by { |n| n[:fqdn] }.each do |gateway|
   gateway.interfaces(:role => :external) do |interface|
diff --git a/cookbooks/mailman/.foodcritic b/cookbooks/mailman/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/mediawiki/.foodcritic b/cookbooks/mediawiki/.foodcritic
deleted file mode 100644 (file)
index af9a69a..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-~FC001
-~FC021
-~FC064
-~FC065
-~FC066
-~FC071
index 48ba062..1fe4fae 100644 (file)
@@ -64,7 +64,7 @@ action :create do
     end
   end
 
-  if new_resource.template # ~FC023
+  if new_resource.template
     declare_resource :template, "#{mediawiki_directory}/LocalSettings.d/Ext-#{new_resource.extension}.inc.php" do
       cookbook new_resource.template_cookbook
       source new_resource.template
index 45719d6..a3862ca 100644 (file)
@@ -196,13 +196,13 @@ action :create do
   end
 
   # MobileFrontend extension is required by MinervaNeue skin
-  mediawiki_extension "MobileFrontend" do # ~FC005
+  mediawiki_extension "MobileFrontend" do
     site new_resource.site
     template "mw-ext-MobileFrontend.inc.php.erb"
   end
 
   # MobileFrontend extension is required by MinervaNeue skin
-  mediawiki_skin "MinervaNeue" do # ~FC005
+  mediawiki_skin "MinervaNeue" do
     site new_resource.site
     update_site false
     legacy false
index 63e1627..adcc2ae 100644 (file)
@@ -57,7 +57,7 @@ action :create do
     end
   end
 
-  if new_resource.template # ~FC023
+  if new_resource.template
     declare_resource :template, "#{mediawiki_directory}/LocalSettings.d/Skin-#{new_resource.skin}.inc.php" do
       cookbook "mediawiki"
       source new_resource.template
diff --git a/cookbooks/memcached/.foodcritic b/cookbooks/memcached/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/munin/.foodcritic b/cookbooks/munin/.foodcritic
deleted file mode 100644 (file)
index 8f83d01..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-~FC001
-~FC003
-~FC005
-~FC064
-~FC065
-~FC066
-~FC071
index ac1464a..cf2b767 100644 (file)
@@ -24,7 +24,7 @@ service "munin-node" do
   supports :status => true, :restart => true, :reload => true
 end
 
-servers = search(:node, "recipes:munin\\:\\:server") # ~FC010
+servers = search(:node, "recipes:munin\\:\\:server")
 
 servers.each do |server|
   server.interfaces(:role => :external) do |interface|
@@ -147,7 +147,7 @@ else
   end
 end
 
-munin_plugin "hpasmcli_temp" do # ~FC005
+munin_plugin "hpasmcli_temp" do
   action :delete
 end
 
index 1cf444c..f9fe98d 100644 (file)
@@ -45,9 +45,9 @@ munin_plugin "rrdcached"
 
 expiry_time = 14 * 86400
 
-clients = search(:node, "recipes:munin\\:\\:default").sort_by(&:name) # ~FC010
-frontends = search(:node, "recipes:web\\:\\:frontend").reject { |n| Time.now - Time.at(n[:ohai_time]) > expiry_time }.map(&:name).sort # ~FC010
-backends = search(:node, "recipes:web\\:\\:backend").reject { |n| Time.now - Time.at(n[:ohai_time]) > expiry_time }.map(&:name).sort # ~FC010
+clients = search(:node, "recipes:munin\\:\\:default").sort_by(&:name)
+frontends = search(:node, "recipes:web\\:\\:frontend").reject { |n| Time.now - Time.at(n[:ohai_time]) > expiry_time }.map(&:name).sort
+backends = search(:node, "recipes:web\\:\\:backend").reject { |n| Time.now - Time.at(n[:ohai_time]) > expiry_time }.map(&:name).sort
 tilecaches = search(:node, "roles:tilecache").reject { |n| Time.now - Time.at(n[:ohai_time]) > expiry_time }.sort_by(&:name).map do |n|
   { :name => n.name.split(".").first, :interface => n.interfaces(:role => :external).first[:interface].tr(".", "_") }
 end
index 01bf916..dede3cb 100644 (file)
@@ -37,7 +37,7 @@ action :create do
     to target_path
   end
 
-  if new_resource.conf # ~FC023
+  if new_resource.conf
     munin_plugin_conf new_resource.plugin do
       cookbook new_resource.conf_cookbook
       template new_resource.conf
@@ -52,7 +52,7 @@ action :delete do
     action :delete
   end
 
-  if new_resource.conf # ~FC023
+  if new_resource.conf
     munin_plugin_conf new_resource.plugin do
       action :delete
       restart_munin false
diff --git a/cookbooks/mysql/.foodcritic b/cookbooks/mysql/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/networking/.foodcritic b/cookbooks/networking/.foodcritic
deleted file mode 100644 (file)
index c8f7322..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-~FC001
-~FC003
-~FC015
-~FC064
-~FC065
-~FC066
-~FC071
index 9c273ea..dfa73f1 100644 (file)
@@ -215,7 +215,7 @@ node.interfaces(:role => :internal) do |interface|
       next unless gateway[:openvpn]
 
       gateway[:openvpn][:tunnels].each_value do |tunnel|
-        if tunnel[:peer][:address] # ~FC023
+        if tunnel[:peer][:address]
           route tunnel[:peer][:address] do
             netmask "255.255.255.255"
             gateway interface[:gateway]
diff --git a/cookbooks/nfs/.foodcritic b/cookbooks/nfs/.foodcritic
deleted file mode 100644 (file)
index 53c271a..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-~FC001
-~FC003
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/nginx/.foodcritic b/cookbooks/nginx/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/nodejs/.foodcritic b/cookbooks/nodejs/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/nominatim/.foodcritic b/cookbooks/nominatim/.foodcritic
deleted file mode 100644 (file)
index 53c271a..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-~FC001
-~FC003
-~FC064
-~FC065
-~FC066
-~FC071
index d2f674f..181d41c 100644 (file)
@@ -109,7 +109,7 @@ node[:nominatim][:tablespaces].each do |name, location|
   end
 end
 
-if node[:nominatim][:state] == "master" # ~FC023
+if node[:nominatim][:state] == "master"
   postgresql_user "replication" do
     cluster node[:nominatim][:dbcluster]
     password data_bag_item("nominatim", "passwords")["replication"]
@@ -208,7 +208,7 @@ template "#{build_directory}/settings/local.php" do
             :log_file => "#{node[:nominatim][:logdir]}/query.log"
 end
 
-if node[:nominatim][:flatnode_file] # ~FC023
+if node[:nominatim][:flatnode_file]
   directory File.dirname(node[:nominatim][:flatnode_file]) do
     recursive true
   end
diff --git a/cookbooks/ntp/.foodcritic b/cookbooks/ntp/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/ohai/.foodcritic b/cookbooks/ohai/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/openssh/.foodcritic b/cookbooks/openssh/.foodcritic
deleted file mode 100644 (file)
index 53c271a..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-~FC001
-~FC003
-~FC064
-~FC065
-~FC066
-~FC071
index 190db29..49c890b 100644 (file)
@@ -41,18 +41,18 @@ hosts = search(:node, "networking:interfaces").sort_by { |n| n[:hostname] }.coll
   end
 
   keys = {
-    "ssh-rsa" => node[:keys][:ssh][:host_rsa_public],        # ~FC039
-    "ssh-dss" => node[:keys][:ssh][:host_dsa_public]         # ~FC039
+    "ssh-rsa" => node[:keys][:ssh][:host_rsa_public],
+    "ssh-dss" => node[:keys][:ssh][:host_dsa_public]
   }
 
-  if node[:keys][:ssh][:host_ecdsa_public]                   # ~FC039
-    ecdsa_type = node[:keys][:ssh][:host_ecdsa_type]         # ~FC039
+  if node[:keys][:ssh][:host_ecdsa_public]
+    ecdsa_type = node[:keys][:ssh][:host_ecdsa_type]
 
-    keys[ecdsa_type] = node[:keys][:ssh][:host_ecdsa_public] # ~FC039
+    keys[ecdsa_type] = node[:keys][:ssh][:host_ecdsa_public]
   end
 
-  if node[:keys][:ssh][:host_ed25519_public]                      # ~FC039
-    keys["ssh-ed25519"] = node[:keys][:ssh][:host_ed25519_public] # ~FC039
+  if node[:keys][:ssh][:host_ed25519_public]
+    keys["ssh-ed25519"] = node[:keys][:ssh][:host_ed25519_public]
   end
 
   Hash[
diff --git a/cookbooks/openvpn/.foodcritic b/cookbooks/openvpn/.foodcritic
deleted file mode 100644 (file)
index 53c271a..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-~FC001
-~FC003
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/osmosis/.foodcritic b/cookbooks/osmosis/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/osqa/.foodcritic b/cookbooks/osqa/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/otrs/.foodcritic b/cookbooks/otrs/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/passenger/.foodcritic b/cookbooks/passenger/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/piwik/.foodcritic b/cookbooks/piwik/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/planet/.foodcritic b/cookbooks/planet/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/postgresql/.foodcritic b/cookbooks/postgresql/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/python/.foodcritic b/cookbooks/python/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/roundup/.foodcritic b/cookbooks/roundup/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/rsyncd/.foodcritic b/cookbooks/rsyncd/.foodcritic
deleted file mode 100644 (file)
index 53c271a..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-~FC001
-~FC003
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/serverinfo/.foodcritic b/cookbooks/serverinfo/.foodcritic
deleted file mode 100644 (file)
index b0f9b4b..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC003
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/snmpd/.foodcritic b/cookbooks/snmpd/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/spamassassin/.foodcritic b/cookbooks/spamassassin/.foodcritic
deleted file mode 100644 (file)
index 53c271a..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-~FC001
-~FC003
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/squid/.foodcritic b/cookbooks/squid/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/ssl/.foodcritic b/cookbooks/ssl/.foodcritic
deleted file mode 100644 (file)
index 53c271a..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-~FC001
-~FC003
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/stateofthemap/.foodcritic b/cookbooks/stateofthemap/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/subversion/.foodcritic b/cookbooks/subversion/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/supybot/.foodcritic b/cookbooks/supybot/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/switch2osm/.foodcritic b/cookbooks/switch2osm/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/sysctl/.foodcritic b/cookbooks/sysctl/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/sysfs/.foodcritic b/cookbooks/sysfs/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/systemd/.foodcritic b/cookbooks/systemd/.foodcritic
deleted file mode 100644 (file)
index 1a4fd32..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/taginfo/.foodcritic b/cookbooks/taginfo/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/tile/.foodcritic b/cookbooks/tile/.foodcritic
deleted file mode 100644 (file)
index 53c271a..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-~FC001
-~FC003
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/tilecache/.foodcritic b/cookbooks/tilecache/.foodcritic
deleted file mode 100644 (file)
index 53c271a..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-~FC001
-~FC003
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/tilelog/.foodcritic b/cookbooks/tilelog/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/tools/.foodcritic b/cookbooks/tools/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/trac/.foodcritic b/cookbooks/trac/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/web/.foodcritic b/cookbooks/web/.foodcritic
deleted file mode 100644 (file)
index 03f7b70..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-~FC001
-~FC015
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/wiki/.foodcritic b/cookbooks/wiki/.foodcritic
deleted file mode 100644 (file)
index 0c118ec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-~FC001
-~FC064
-~FC065
-~FC066
-~FC071
diff --git a/cookbooks/wordpress/.foodcritic b/cookbooks/wordpress/.foodcritic
deleted file mode 100644 (file)
index af9a69a..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-~FC001
-~FC021
-~FC064
-~FC065
-~FC066
-~FC071