Puppet Class: serverdensity_agent::plugin::apache

Defined in:
manifests/plugin/apache.pp

Overview

Class: serverdensity_agent::plugin::apache

Defines Apache instances

Parameters

apache_status_url

String. Url to the apache status page provided by the mod_status module Default: localhost/server-status/?auto

apache_user

String. Username required to access apache status URL Default: undef

apache_password

String. Password required to access apache status URL Default: undef

Examples

class { ‘serverdensity_agent::plugin::apache’:

apache_status_url => 'http://localhost/server-status?auto',
apache_user       => 'admin',
apache_password   => 'honshu'

}

Parameters:

  • apache_status_url (Any) (defaults to: 'http://localhost/server-status/')
  • apache_user (Any) (defaults to: undef)
  • apache_password (Any) (defaults to: undef)


27
28
29
30
31
32
33
34
35
# File 'manifests/plugin/apache.pp', line 27

class serverdensity_agent::plugin::apache (
  $apache_status_url = 'http://localhost/server-status/',
  $apache_user = undef,
  $apache_password = undef,
  ) {
  serverdensity_agent::plugin { 'apache':
    config_content => template('serverdensity_agent/plugin/apache.yaml.erb'),
  }
}