Skip to content
This repository has been archived by the owner on Nov 23, 2017. It is now read-only.

Commit

Permalink
Added arch support, (needed a slightly different package name).
Browse files Browse the repository at this point in the history
  • Loading branch information
erniebrodeur authored and jtimberman committed Mar 1, 2012
1 parent df1b4d0 commit 8ac0df1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion passenger_apache2/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 4 additions & 1 deletion passenger_apache2/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 8ac0df1

Please sign in to comment.