Permalink
Browse files

mod_python for centos

  • Loading branch information...
1 parent cb47112 commit 99a5d4c9bbee0bc9174845f8db423140e6c347e8 gilles committed Aug 5, 2010
Showing with 11 additions and 1 deletion.
  1. +11 −1 apache2/recipes/mod_python.rb
@@ -17,6 +17,16 @@
# limitations under the License.
#
-package "libapache2-mod-python"
+case node[:platform]
+ when "debian", "ubuntu"
+ package "libapache2-mod-python" do
+ action :install
+ end
+ when "centos", "redhat", "fedora"
+ package "mod_python" do
+ action :install
+ notifies :run, resources(:execute => "generate-module-list"), :immediately
+ end
+end
apache_module "python"

0 comments on commit 99a5d4c

Please sign in to comment.