Skip to content

Commit

Permalink
Merge branch 'master' of github.com:saz/puppet-ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
saz committed Feb 24, 2014
2 parents c4c344b + cb143b9 commit 10426ab
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions manifests/client/config.pp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
class ssh::client::config {
class ssh::client::config inherits ssh {
file { $ssh::params::ssh_config:
ensure => present,
owner => 'root',
group => 'root',
source => "puppet:///modules/${module_name}/ssh_config",
content => template("${module_name}/ssh_config.erb"),
require => Class['ssh::client::install'],
}

Expand Down
4 changes: 3 additions & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
class ssh {
class ssh (
$disable_user_known_hosts = true
) {
include ssh::server
include ssh::client
}
2 changes: 2 additions & 0 deletions files/ssh_config → templates/ssh_config.erb
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,6 @@ Host *
HashKnownHosts yes
GSSAPIAuthentication yes
GSSAPIDelegateCredentials no
<% if disable_user_known_hosts %>
UserKnownHostsFile /dev/null
<% end %>

0 comments on commit 10426ab

Please sign in to comment.