Puppet Class: pybal::configuration

Defined in:
modules/pybal/manifests/configuration.pp

Overview

Parameters:

  • lvs_services (Any)
  • lvs_class_hosts (Any)
  • site (Any)
  • config (Any) (defaults to: 'http')
  • global_options (Any) (defaults to: {})
  • config_host (Any) (defaults to: "config-master.${site}.wmnet")
  • conftool_prefix (Any) (defaults to: '/conftool/v1')


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'modules/pybal/manifests/configuration.pp', line 1

class pybal::configuration(
    $lvs_services,
    $lvs_class_hosts,
    $site,
    $config='http',
    $global_options={},
    $config_host="config-master.${site}.wmnet",
    $conftool_prefix = '/conftool/v1',
) {

    # Generate PyBal config file
    file { '/etc/pybal/pybal.conf':
        require => Package['pybal'],
        content => template("${module_name}/pybal.conf.erb");
        # do not notify => Service['pybal'] on purpose
    }

}