Puppet Class: profile::toolforge::grid::bastion

Defined in:
modules/profile/manifests/toolforge/grid/bastion.pp

Summary

grid-specific bastion stuff

Overview

SPDX-License-Identifier: Apache-2.0

Parameters:

  • active_cronrunner (Stdlib::Host) (defaults to: lookup('profile::toolforge::active_cronrunner'))


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

class profile::toolforge::grid::bastion (
    Stdlib::Host $active_cronrunner = lookup('profile::toolforge::active_cronrunner'),
) {
    include profile::toolforge::grid::exec_environ

    file { [
        '/etc/toollabs-cronhost',
        '/usr/local/bin/qstat-full',
    ]:
        ensure => absent,
    }

    file { '/etc/ssh/ssh_config':
        ensure => file,
        owner  => 'root',
        group  => 'root',
        mode   => '0444',
        source => 'puppet:///modules/profile/toolforge/grid/bastion/ssh_config',
    }
}