diff options
author | varac <varacanero@zeromail.org> | 2014-02-13 08:46:52 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2014-02-13 08:46:52 +0100 |
commit | 234d9fdf88d95db79c9d5983af8e0c318edb28c7 (patch) | |
tree | 0f85df350d582024bc2aa870711285325fc96bea /puppet/modules/site_sshd/manifests | |
parent | 251c250fe5cf44c99a74d4359cb29b0bf165f3af (diff) | |
parent | 0b3e87cd6916d4ca4404fd2b375d21468d17f343 (diff) |
Merge remote-tracking branch 'elijah/feature/known_hosts' into fix_develop
Diffstat (limited to 'puppet/modules/site_sshd/manifests')
-rw-r--r-- | puppet/modules/site_sshd/manifests/init.pp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/puppet/modules/site_sshd/manifests/init.pp b/puppet/modules/site_sshd/manifests/init.pp index 90dd2d0e..2bcde603 100644 --- a/puppet/modules/site_sshd/manifests/init.pp +++ b/puppet/modules/site_sshd/manifests/init.pp @@ -1,5 +1,6 @@ class site_sshd { $ssh = hiera_hash('ssh') + $hosts = hiera_hash('hosts') ## ## SETUP AUTHORIZED KEYS @@ -12,6 +13,23 @@ class site_sshd { } ## + ## SETUP KNOWN HOSTS and SSH_CONFIG + ## + + file { + '/etc/ssh/ssh_known_hosts': + owner => root, + group => root, + mode => '0644', + content => template('site_sshd/ssh_known_hosts.erb'); + '/etc/ssh/ssh_config': + owner => root, + group => root, + mode => '0644', + content => template('site_sshd/ssh_config.erb'); + } + + ## ## OPTIONAL MOSH SUPPORT ## |