Puppet Class: conftool::scripts::initialize

Defined in:
modules/conftool/manifests/scripts/initialize.pp

Overview

conftool::scripts::initialize: simple script to set up a node with a default weight and pooled state.

This is a class as it should be only initialized once per node.

Parameters:

  • services (Hash[String, Integer])


5
6
7
8
9
10
11
12
13
# File 'modules/conftool/manifests/scripts/initialize.pp', line 5

class conftool::scripts::initialize(Hash[String, Integer] $services) {
    file { '/usr/local/sbin/initialize':
        ensure  => present,
        content => template('conftool/initialize.sh.erb'),
        owner   => 'root',
        group   => 'root',
        mode    => '0555'
    }
}