Skip to content

Commit

Permalink
Update passenger apache to generate passenger.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
jbarreneche committed Oct 5, 2011
1 parent f875bd4 commit f270adc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions rvm/manifests/passenger/apache.pp
Expand Up @@ -15,4 +15,11 @@
logoutput => on_failure,
require => Package["$ruby@global:passenger"],
}

exec {"generate apache passenger conf":
command => "/usr/local/rvm/bin/rvm $ruby exec passenger-install-apache2-module --snippet > /etc/apache2/mods-enabled/passenger.conf",
creates => '/etc/apache2/mods-enabled/passenger.conf',
require => Package["$ruby@global:passenger"],
}

}

0 comments on commit f270adc

Please sign in to comment.