]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apache/recipes/default.rb
Fix more rubocop detected style issues
[chef.git] / cookbooks / apache / recipes / default.rb
index be906716286830d34294cb3bb4db015f825651ee..30f77340dd4071aa9838685e9be9765de2f345c7 100644 (file)
@@ -25,7 +25,7 @@ if node[:lsb][:release].to_f < 14.04
     notifies :restart, "service[apache2]"
   end
 else
-  ["event", "itk", "prefork", "worker"].each do |mpm|
+  %w(event itk prefork worker).each do |mpm|
     if mpm == node[:apache][:mpm]
       apache_module "mpm_#{mpm}" do
         action [ :enable ]