diff options
author | varac <varacanero@zeromail.org> | 2014-02-12 13:02:10 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2014-02-12 13:02:10 +0100 |
commit | e81455708e70a46dbb4fefbd510e4e354ce9606c (patch) | |
tree | cee32deceb0b4ccce3cbfab8cd30696840eec998 /puppet/modules/site_sshd/manifests/init.pp | |
parent | 3516ef17f41b80409a50cffe5b81a7777e6742cb (diff) | |
parent | 15ddd997572a4845f5a16f1af16c5ce5b7ac4c11 (diff) |
Merge branch '0.6' into 4982_check_mk
Diffstat (limited to 'puppet/modules/site_sshd/manifests/init.pp')
-rw-r--r-- | puppet/modules/site_sshd/manifests/init.pp | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/puppet/modules/site_sshd/manifests/init.pp b/puppet/modules/site_sshd/manifests/init.pp index d2de41c8..d9bc1d51 100644 --- a/puppet/modules/site_sshd/manifests/init.pp +++ b/puppet/modules/site_sshd/manifests/init.pp @@ -13,11 +13,20 @@ class site_sshd { } ## - ## SETUP KNOWN HOSTS + ## SETUP KNOWN HOSTS and SSH_CONFIG ## - class { 'site_sshd::known_hosts': - hosts => $hosts + 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'); } ## |