Puppet Class: profile::racktables

Defined in:
modules/profile/manifests/racktables.pp

Overview

racktables.wikimedia.org Please note that Racktables is a tarball extraction based installation into its web directory root. This means that puppet cannot fully automate the installation at this time & the actual tarball must be downloaded from racktables.org/ and unzipped into /srv/org/wikimedia/racktables

filtertags: labs-project-servermon

Parameters:

  • racktables_host (Any) (defaults to: hiera('profile::racktables::racktables_host'))


8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'modules/profile/manifests/racktables.pp', line 8

class profile::racktables (
    $racktables_host = hiera('profile::racktables::racktables_host'),
){
    system::role { 'racktables': description => 'Racktables server' }

    include ::standard
    include ::passwords::racktables

    ferm::service { 'racktables-http':
        proto  => 'tcp',
        port   => '80',
        srange => '$CACHES',
    }

    class { '::racktables':
        racktables_host    => $racktables_host,
        racktables_db_host => 'm1-master.eqiad.wmnet',
        racktables_db      => 'racktables',
    }
}