/[adm]/puppet/deployment/common/manifests/init.pp
ViewVC logotype

Diff of /puppet/deployment/common/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2362 by boklm, Sat Feb 4 18:19:28 2012 UTC revision 2363 by misc, Thu Feb 9 09:10:43 2012 UTC
# Line 8  class common { Line 8  class common {
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"
# Line 79  class common { Line 100  class common {
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

Legend:
Removed from v.2362  
changed lines
  Added in v.2363

  ViewVC Help
Powered by ViewVC 1.1.30