Skip to content

Commit

Permalink
adjust params and mpm to recent FreeBSD packages
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoll committed Feb 18, 2015
1 parent 7571bd8 commit 70db610
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions manifests/mpm.pp
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@
$_path = "${lib_path}/${_lib}"
$_id = "mpm_${mpm}_module"

if versioncmp($apache_version, '2.4') >= 0 and
(($::osfamily != 'FreeBSD') or
($::osfamily == 'FreeBSD' and $mpm == 'itk')) {

if versioncmp($apache_version, '2.4') >= 0 {
file { "${mod_dir}/${mpm}.load":
ensure => file,
path => "${mod_dir}/${mpm}.load",
Expand Down
4 changes: 2 additions & 2 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,8 @@
$ssl_certs_dir = '/usr/local/etc/apache24'
$passenger_conf_file = 'passenger.conf'
$passenger_conf_package_file = undef
$passenger_root = '/usr/local/lib/ruby/gems/1.9/gems/passenger-4.0.10'
$passenger_ruby = '/usr/bin/ruby'
$passenger_root = '/usr/local/lib/ruby/gems/2.0/gems/passenger-4.0.58'
$passenger_ruby = '/usr/local/bin/ruby'
$passenger_default_ruby = undef
$suphp_addhandler = 'php5-script'
$suphp_engine = 'off'
Expand Down

0 comments on commit 70db610

Please sign in to comment.