projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c08dfe1
)
Fix apache mpm configuration on 14.04
author
Tom Hughes
<tom@compton.nu>
Fri, 25 Jul 2014 10:06:22 +0000
(11:06 +0100)
committer
Tom Hughes
<tom@compton.nu>
Fri, 25 Jul 2014 10:06:22 +0000
(11:06 +0100)
cookbooks/apache/recipes/default.rb
patch
|
blob
|
history
diff --git
a/cookbooks/apache/recipes/default.rb
b/cookbooks/apache/recipes/default.rb
index 2d353950ee71d011fda03c4137fe3e571fc3d5e8..23206572a37ecc3089bf7acf0baa4c3314180f82 100644
(file)
--- a/
cookbooks/apache/recipes/default.rb
+++ b/
cookbooks/apache/recipes/default.rb
@@
-26,14
+26,12
@@
if node[:lsb][:release].to_f < 14.04
else
["event", "itk", "prefork", "worker"].each do |mpm|
if mpm == node[:apache][:mpm]
- apache_module mpm do
- action [ :install, :enable ]
- package "apache2-mpm-#{node[:apache][:mpm]}"
+ apache_module "mpm_#{mpm}" do
+ action [ :enable ]
end
else
- apache_module
mpm
do
+ apache_module
"mpm_#{mpm}"
do
action [ :disable ]
- package "apache2-mpm-#{node[:apache][:mpm]}"
end
end
end