Import rest of modules.
This commit is contained in:
parent
02fa10f33c
commit
3f225ced9b
39 changed files with 2056 additions and 0 deletions
23
ssh/manifests/init.pp
Normal file
23
ssh/manifests/init.pp
Normal file
|
@ -0,0 +1,23 @@
|
|||
|
||||
# Class: ssh::known_hosts
|
||||
#
|
||||
# Install global ssh_known_hosts file generated from LDAP directory.
|
||||
#
|
||||
# === Depencies:
|
||||
#
|
||||
# Template file generation requires Ruby LDAP bindings[http://ruby-ldap.sourceforge.net/] on puppet server.
|
||||
#
|
||||
class ssh::known_hosts {
|
||||
|
||||
file { "/etc/ssh/ssh_known_hosts":
|
||||
ensure => present,
|
||||
content => template("ssh/ssh_known_hosts.erb"),
|
||||
mode => 0644,
|
||||
owner => root,
|
||||
group => $operatingsystem ? {
|
||||
OpenBSD => wheel,
|
||||
default => root,
|
||||
},
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue