Permalink
Browse files

savegame: httpd24 on amazon broken. needs mpm module

  • Loading branch information...
1 parent 92ac973 commit 26fb879fcc851c89926eb7a6bfa5a77515cee1e2 @someara someara committed Jul 14, 2014
@@ -44,25 +44,11 @@ def whyrun_supported?
action :nothing
end
- directory "#{new_resource.name} create /usr/#{libarch}/httpd/modules" do
- path "/usr/#{libarch}/httpd/modules"
- user 'root'
- group 'root'
- mode '0755'
- recursive true
- action :create
- end
-
- link "#{new_resource.name} create /etc/#{apache_name}/modules" do
- target_file "/etc/#{apache_name}/modules"
- to "../../usr/#{libarch}/modules"
- action :create
- end
-
directory "#{new_resource.name} create /etc/#{apache_name}/conf.modules.d" do
path "/etc/#{apache_name}/conf.modules.d"
owner 'root'
group 'root'
+ recursive true
action :create
end
@@ -156,6 +156,15 @@ def whyrun_supported?
end
# support directories
+ directory "#{new_resource.name} create /usr/#{libarch}/httpd/modules" do
+ path "/usr/#{libarch}/httpd/modules"
+ user 'root'
+ group 'root'
+ mode '0755'
+ recursive true
+ action :create
+ end
+
directory "#{new_resource.name} create /var/log/#{apache_name}" do
path "/var/log/#{apache_name}"
user 'root'
@@ -173,7 +182,7 @@ def whyrun_supported?
link "#{new_resource.name} create /etc/#{apache_name}/modules" do
target_file "/etc/#{apache_name}/modules"
- to "../../usr/#{libarch}/#{apache_name}/modules"
+ to "../../usr/#{libarch}/httpd/modules"
action :create
end
@@ -1,7 +1,5 @@
# comments!
-log "httpd_version: #{node['httpd']['version']}"
-
httpd_module 'auth_basic' do
httpd_version node['httpd']['version']
action :create

0 comments on commit 26fb879

Please sign in to comment.