Puppet Class: pacemaker::apache

Defined in:
manifests/apache.pp

Overview

Class: pacemaker::apache

Helper which includes the apache module, but with service management disabled. This is useful if your apache server needs to be managed by heartbeat, but you still want to benefit from the facilities provided in the apache module.

Requires:

  • apache’s puppet module

Example usage:

include pacemaker::apache
apache_c2c::vhost {$fqdn: ensure => present }


14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# File 'manifests/apache.pp', line 14

class pacemaker::apache {

  case $::operatingsystem {

    'RedHat': {
      include ::pacemaker::apache::redhat
    }

    'Debian': {
      include ::pacemaker::apache::debian
    }

    default: {
      fail "Unsupported Operating System: ${::operatingsystem}"
    }
  }
}