Puppet Class: profile::toolforge::k8s::client

Defined in:
modules/profile/manifests/toolforge/k8s/client.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'modules/profile/manifests/toolforge/k8s/client.pp', line 1

class profile::toolforge::k8s::client (
) {
    class { '::profile::wmcs::kubeadm::client': }
    contain '::profile::wmcs::kubeadm::client'

    package { 'toolforge-webservice':
        ensure => latest,
    }

    if debian::codename::le('buster') {
        # Legacy locations for the entry point script from webservice
        # that are probably still hardcoded in some Tools.
        file { [
            '/usr/local/bin/webservice2',
            '/usr/local/bin/webservice',
        ]:
            ensure => link,
            target => '/usr/bin/webservice',
            owner  => 'root',
            group  => 'root',
            mode   => '0555',
        }
    }
}