Puppet Class: puppetmaster::labsrootpass

Defined in:
modules/puppetmaster/manifests/labsrootpass.pp

Overview



12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# File 'modules/puppetmaster/manifests/labsrootpass.pp', line 12

class puppetmaster::labsrootpass {

    require_package('pwgen')
    require_package('whois')

    file { '/usr/local/sbin/make-labs-root-password':
        ensure => 'present',
        owner  => 'root',
        group  => 'root',
        mode   => '0555',
        source => 'puppet:///modules/puppetmaster/make-labs-root-password',
    }

    file { '/var/local/labs-root-passwords':
        ensure => 'directory',
        owner  => 'puppet',
        mode   => '0700',
    }
}