Puppet Class: role::cluster::management

Defined in:
modules/role/manifests/cluster/management.pp

Overview

Class role::cluster::management

This class setup a host to be a cluster manager, including all the tools, automation and orchestration softwares, ACL and such.



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# File 'modules/role/manifests/cluster/management.pp', line 6

class role::cluster::management {

    system::role { 'cluster-management':
        description => 'Cluster management',
    }

    include profile::base::production
    include profile::base::firewall

    # Temporary hack; for now cumin2001 is kept as a DBA management host,
    # but Spicerack/Cumin/Homer should be run from cumin2002 to prevent
    # issues with the Homer repo sync
    # lint:ignore:wmf_styleguide
    unless $::fqdn == 'cumin2001.codfw.wmnet' {
        include profile::spicerack
        include profile::homer
    }
    # lint:endignore

    include profile::cumin::master
    include profile::ipmi::mgmt
    include profile::access_new_install
    include profile::conftool::client
    include profile::conftool::dbctl_client
    include profile::debdeploy
    include profile::httpbb
    include profile::pwstore

    include profile::mariadb::wmf_root_client
    include profile::dbbackups::transfer

    include profile::netops::ripeatlas::cli

    include profile::sre::os_updates
    include profile::sre::check_user

    # Backup all of /srv, including deployment, homer and  pwstore
    # move to a corresponding profile if the other profiles are split away
    include profile::backup::host
    include profile::cluster::management::backup
}