diff options
author | elijah <elijah@riseup.net> | 2014-02-09 17:04:58 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2014-02-09 17:04:58 -0800 |
commit | 665db30f37838bcebbfdc368f65ed369282c31b8 (patch) | |
tree | f916b0c1c131f701869b2b739f72f6668f09e16f /puppet/modules/site_sshd/manifests/init.pp | |
parent | b9fa9cfc83d552faafe41ebba183fb06f45f6ca5 (diff) |
deploy a valid /etc/ssh/ssh_known_hosts for all nodes (requires new leap_cli)
Diffstat (limited to 'puppet/modules/site_sshd/manifests/init.pp')
-rw-r--r-- | puppet/modules/site_sshd/manifests/init.pp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/puppet/modules/site_sshd/manifests/init.pp b/puppet/modules/site_sshd/manifests/init.pp index 90dd2d0e..d2b13822 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,14 @@ class site_sshd { } ## + ## SETUP KNOWN HOSTS + ## + + class { 'site_sshd::known_hosts': + hosts => $hosts + } + + ## ## OPTIONAL MOSH SUPPORT ## |