Puppet Class: profile::toolforge::grid::node::compute

Defined in:
modules/profile/manifests/toolforge/grid/node/compute.pp

Overview

Parameters:

  • etcdir (Any) (defaults to: hiera('profile::toolforge::etcdir'))


7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'modules/profile/manifests/toolforge/grid/node/compute.pp', line 7

class profile::toolforge::grid::node::compute (
    $etcdir = hiera('profile::toolforge::etcdir'),
){
    include ::profile::toolforge::grid::exec_environ
    include ::profile::toolforge::grid::hba

    motd::script { 'exechost-banner':
        ensure => present,
        source => "puppet:///modules/profile/toolforge/40-${::labsproject}-exechost-banner.sh",
    }

    file { "${profile::toolforge::grid::base::store}/execnode-${::fqdn}":
        ensure  => file,
        owner   => 'root',
        group   => 'root',
        mode    => '0444',
        require => File[$profile::toolforge::grid::base::store],
        content => "${::ipaddress}\n",
    }
}