This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Added arch support, (needed a slightly different package name).

  • Loading branch information...
1 parent df1b4d0 commit 8ac0df170d405c250b614d2b03f41d718e2861bc @erniebrodeur erniebrodeur committed with jtimberman Jan 31, 2012
Showing with 5 additions and 2 deletions.
  1. +1 −1 passenger_apache2/metadata.rb
  2. +4 −1 passenger_apache2/recipes/default.rb
@@ -11,6 +11,6 @@
depends "apache2", ">= 1.0.4"
depends "build-essential"
-%w{ redhat centos ubuntu debian }.each do |os|
+%w{ redhat centos ubuntu debian arch }.each do |os|
supports os
end
@@ -25,7 +25,10 @@
include_recipe "apache2"
include_recipe "build-essential"
-if platform?("centos","redhat")
+case node[:platform]
+when "arch"
+ package "apache"
+when "centos","redhat"
package "httpd-devel"
if node['platform_version'].to_f < 6.0
package 'curl-devel'

0 comments on commit 8ac0df1

Please sign in to comment.