Puppet Class: profile::toolforge::infrastructure

Defined in:
modules/profile/manifests/toolforge/infrastructure.pp

Overview



4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'modules/profile/manifests/toolforge/infrastructure.pp', line 4

class profile::toolforge::infrastructure {

    if ($::labsproject in ['tools', 'toolsbeta']) {
        motd::script { 'infrastructure-banner':
            ensure => present,
            source => "puppet:///modules/profile/toolforge/40-${::labsproject}-infrastructure-banner.sh",
        }
    }

    # Infrastructure instances are limited to an (arbitrarily picked) local
    # service group and root.
    security::access::config { 'labs-admin-only':
        content => "-:ALL EXCEPT (${::labsproject}.admin) root:ALL\n",
    }
}