Puppet Class: profile::access_new_install

Defined in:
modules/profile/manifests/access_new_install.pp

Overview

install the private key needed to contact newly-installed servers

to set up the initial puppet run.

This key is dangerous, do not deploy widely! Also install a convenience script to ssh in using this key



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'modules/profile/manifests/access_new_install.pp', line 5

class profile::access_new_install {
    file { '/root/.ssh/new_install':
        owner     => 'root',
        group     => 'root',
        mode      => '0400',
        content   => secret('ssh/new_install/new_install'),
        show_diff => false,
    }
    file { '/root/.ssh/new_install.pub':
        owner   => 'root',
        group   => 'root',
        mode    => '0444',
        content => secret('ssh/new_install/new_install.pub'),
    }
    file { '/usr/local/bin/install_console':
        owner  => 'root',
        group  => 'root',
        mode   => '0555',
        source => 'puppet:///modules/role/access_new_install/install_console',
    }
}