Puppet Class: profile::toolforge::grid::shadow

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

Overview

Parameters:

  • gridmaster (Any) (defaults to: hiera('sonofgridengine::gridmaster'))
  • geconf (Any) (defaults to: lookup('profile::toolforge::grid::base::geconf'))


3
4
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
# File 'modules/profile/manifests/toolforge/grid/shadow.pp', line 3

class profile::toolforge::grid::shadow(
    $gridmaster = hiera('sonofgridengine::gridmaster'),
    $geconf = lookup('profile::toolforge::grid::base::geconf'),
){
    include profile::openstack::eqiad1::clientpackages::vms
    include profile::openstack::eqiad1::observerenv
    include profile::toolforge::infrastructure

    file { '/var/spool/gridengine':
        ensure => link,
        target => "${geconf}/spool",
        force  => true,
    }

    class { '::sonofgridengine::shadow_master':
        gridmaster => $gridmaster,
        sgeroot    => $geconf,
    }

    file { '/usr/local/sbin/exec-manage':
        ensure => file,
        owner  => 'root',
        group  => 'root',
        mode   => '0655',
        source => 'puppet:///modules/profile/toolforge/exec-manage',
    }
}