Puppet Class: role::tendril

Defined in:
modules/role/manifests/tendril.pp

Overview



5
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
# File 'modules/role/manifests/tendril.pp', line 5

class role::tendril {
    include ::profile::base::firewall
    include ::profile::standard

    system::role { 'tendril': description => 'tendril server' }

    include ::profile::tendril
    include ::profile::tendril::webserver

    # needed by ssl_ciphersuite() used in ::tendril
    class { '::sslcert::dhparam': }

    # Make tendril active-passive cross-datacenter until a local db backend is
    # available on codfw to avoid cross-dc queries or TLS is used to connect
    if hiera('do_acme', true) {
        ferm::service { 'tendril-http-https':
            proto => 'tcp',
            port  => '(http https)',
        }
    }

    class { '::dbtree': }

    # Run cron jobs needed for maintenance (but only on a single host/dc)
    include ::profile::tendril::maintenance
}