blob: 21243d345a971fb3bd215723d5e3ea292edbba42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  | 
class site_webapp::apache {
  $web_api          = hiera('api')
  $api_domain       = $web_api['domain']
  $api_port         = $web_api['port']
  $web_domain       = hiera('domain')
  $domain_name      = $web_domain['name']
  include site_apache::common
  include site_apache::module::headers
  include site_apache::module::alias
  include site_apache::module::expires
  include site_apache::module::removeip
  class { 'passenger': use_munin => false }
  apache::vhost::file {
    'api':
      content => template('site_apache/vhosts.d/api.conf.erb')
  }
}
  |