- disable use of stored configs for ssh-known-hosts - manage the /etc/ssh/ssh_known_hosts content
13 lines
275 B
Puppet
13 lines
275 B
Puppet
# manage known hosts
|
|
class profiles::ssh::knownhosts (
|
|
Array $lines = [],
|
|
) {
|
|
file {'/etc/ssh/ssh_known_hosts':
|
|
ensure => 'file',
|
|
owner => 'root',
|
|
group => 'root',
|
|
mode => '0644',
|
|
content => template('profiles/ssh/ssh_known_hosts.erb'),
|
|
}
|
|
}
|