Puppet Class: xdmod::apache

Defined in:
manifests/apache.pp

Summary

Manage XDMoD Apache configs

Overview



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'manifests/apache.pp', line 3

class xdmod::apache {

  if $xdmod::manage_apache_vhost {
    include ::apache
    include ::apache::mod::php
    include ::apache::mod::ssl
    include ::apache::mod::alias
    include ::apache::mod::headers

    ensure_resource('apache::listen', 80)
    ensure_resource('apache::listen', 443)

    ::apache::vhost::custom { 'xdmod':
      content => template('xdmod/xdmod_apache.erb'),
    }
  }

}