Sha256: 13d7d9a746eab0a4135a11f357224f3d312b790dfb9577649c6020c7bc61832b

Contents?: true

Size: 1.22 KB

Versions: 11

Compression:

Stored size: 1.22 KB

Contents

class apache::mod::passenger (
  $passenger_high_performance     = undef,
  $passenger_pool_idle_time       = undef,
  $passenger_max_requests         = undef,
  $passenger_stat_throttle_rate   = undef,
  $rack_autodetect                = undef,
  $rails_autodetect               = undef,
  $passenger_root                 = $apache::params::passenger_root,
  $passenger_ruby                 = $apache::params::passenger_ruby,
  $passenger_max_pool_size        = undef,
  $passenger_use_global_queue     = undef,
) {
  if $::osfamily == 'FreeBSD' {
    apache::mod { 'passenger':
      lib_path => "${passenger_root}/buildout/apache2"
    }
  } else {
    apache::mod { 'passenger': }
  }
  # Template uses:
  # - $passenger_root
  # - $passenger_ruby
  # - $passenger_max_pool_size
  # - $passenger_high_performance
  # - $passenger_max_requests
  # - $passenger_stat_throttle_rate
  # - $passenger_use_global_queue
  # - $rack_autodetect
  # - $rails_autodetect
  file { 'passenger.conf':
    ensure  => file,
    path    => "${apache::mod_dir}/passenger.conf",
    content => template('apache/mod/passenger.conf.erb'),
    require => Exec["mkdir ${apache::mod_dir}"],
    before  => File[$apache::mod_dir],
    notify  => Service['httpd'],
  }
}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
freighthop-0.6.1 modules/apache/manifests/mod/passenger.pp
freighthop-0.6.0 modules/apache/manifests/mod/passenger.pp
freighthop-0.5.2 modules/apache/manifests/mod/passenger.pp
freighthop-0.5.1 modules/apache/manifests/mod/passenger.pp
freighthop-0.5.0 modules/apache/manifests/mod/passenger.pp
freighthop-0.4.1 modules/apache/manifests/mod/passenger.pp
freighthop-0.4.0 modules/apache/manifests/mod/passenger.pp
freighthop-0.3.3 modules/apache/manifests/mod/passenger.pp
freighthop-0.3.2 modules/apache/manifests/mod/passenger.pp
freighthop-0.3.1 modules/apache/manifests/mod/passenger.pp
freighthop-0.3.0 modules/apache/manifests/mod/passenger.pp