summaryrefslogtreecommitdiff
path: root/manifests/master/passenger.pp
blob: bbb0cb833bd8d0cac1436d92cf50fcdc41696cb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# handles puppetmasterd service
class puppet::master::passenger {
  # Make sure we're not running mongrel
  # Useful when migrating from mongrel to passenger
  $disable_mongrel = hiera('puppet::master::passenger::disable_mongrel', false)
  if $disable_mongrel == true {
    include puppet::master::mongrel::disabled
  }

  # We need a custom envvars apache config to set correct LANG env, see
  # https://projects.puppetlabs.com/issues/11303
  # https://projects.puppetlabs.com/issues/11860
  class { 'apache::envvars':
    source => "puppet:///modules/puppet/envvars.${::lsbdistcodename}",
  }

  # then include puppet class
  include puppet::daemon

  package { 'puppetmaster-passenger':
    ensure => installed,
  }
}