Permalink
Browse files

Use defined type apache::mod for installing and enabling passenger.

  • Loading branch information...
1 parent 5c20cc6 commit c47f12b984b0ca282b40653190e2b8beed567622 @antaflos antaflos committed Nov 11, 2012
Showing with 1 addition and 12 deletions.
  1. +1 −12 manifests/mod/passenger.pp
View
@@ -1,16 +1,5 @@
class apache::mod::passenger {
include 'apache'
- include 'apache::params'
- package { 'mod_passenger_package':
- ensure => installed,
- name => $apache::params::mod_passenger_package,
- require => Package['httpd'],
- }
-
- a2mod { 'passenger':
- ensure => present,
- require => Package['mod_passenger_package'],
- notify => Service['httpd'],
- }
+ apache::mod { 'passenger': }
}

0 comments on commit c47f12b

Please sign in to comment.