8 |
package { $package_list: } |
package { $package_list: } |
9 |
} |
} |
10 |
|
|
11 |
|
class export_ssh_keys { |
12 |
|
@@sshkey { "$hostname": |
13 |
|
type => rsa, |
14 |
|
key => $sshrsakey |
15 |
|
} |
16 |
|
|
17 |
|
@@sshkey { "$fqdn": |
18 |
|
type => rsa, |
19 |
|
key => $sshrsakey |
20 |
|
} |
21 |
|
|
22 |
|
@@sshkey { "$ipaddress": |
23 |
|
type => rsa, |
24 |
|
key => $sshrsakey |
25 |
|
} |
26 |
|
} |
27 |
|
|
28 |
|
class import_ssh_keys { |
29 |
|
Sshkey <<| |>> |
30 |
|
} |
31 |
|
|
32 |
class default_ssh_root_key { |
class default_ssh_root_key { |
33 |
Ssh_authorized_key { |
Ssh_authorized_key { |
34 |
user => "root" |
user => "root" |
100 |
include openssh::server |
include openssh::server |
101 |
include common::default_ssh_root_key |
include common::default_ssh_root_key |
102 |
include common::base_packages |
include common::base_packages |
103 |
|
include common::export_ssh_keys |
104 |
|
include common::import_ssh_keys |
105 |
include ntp |
include ntp |
106 |
include common::urpmi_update |
include common::urpmi_update |
107 |
include puppet::client |
include puppet::client |