Puppet Class: mgmt

Defined in:
modules/mgmt/manifests/init.pp

Overview

manage management consoles like setting passwords on 'mgmt'



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
# File 'modules/mgmt/manifests/init.pp', line 3

class mgmt {

    # sshpass is needed to login on DRAC consoles
    package { 'sshpass':
        ensure => present,
    }

    # script to change passwords on a list of IPs
    file { '/usr/local/bin/changepw':
        mode   => '0555',
        owner  => 'root',
        group  => 'root',
        source => 'puppet:///modules/mgmt/changepw',

    }

    # script to get a list of all the (usable) mgmt IPs
    file { '/usr/local/bin/getmgmtips':
        mode   => '0555',
        owner  => 'root',
        group  => 'root',
        source => 'puppet:///modules/mgmt/getmgmtips',

    }
}