case $sshd_listen_address {
'': { $sshd_listen_address = [ "$ipaddress" ] }
}
- include sshd
+
+ class { 'sshd':
+ listen_address => $sshd_listen_address,
+ password_authentication => $ssh_password_authentication,
+ shared_ip => $ssh_shared_ip,
+ tcp_forwarding => $ssh_tcp_forwarding,
+ hardened_ssl => $ssh_hardened_ssl,
+ print_motd => $ssh_print_motd,
+ }
backupninja::sys { "sys":
ensure => present,
case $sshd_listen_address {
'': { $sshd_listen_address = [ "$ipaddress", '127.0.0.1' ] }
}
- include sshd
+
+ class { 'sshd':
+ listen_address => $sshd_listen_address,
+ password_authentication => $ssh_password_authentication,
+ shared_ip => $ssh_shared_ip,
+ tcp_forwarding => $ssh_tcp_forwarding,
+ hardened_ssl => $ssh_hardened_ssl,
+ print_motd => $ssh_print_motd,
+ }
backupninja::sys { "sys":
ensure => present,
class nodo::plug inherits nodo {
- include sshd
include ntpdate
include syslog-ng
include utils::plug
include resolver
include monkeysphere_nodo
+ class { 'sshd':
+ listen_address => $sshd_listen_address,
+ password_authentication => $ssh_password_authentication,
+ shared_ip => $ssh_shared_ip,
+ tcp_forwarding => $ssh_tcp_forwarding,
+ hardened_ssl => $ssh_hardened_ssl,
+ print_motd => $ssh_print_motd,
+ }
+
backupninja::sys { "sys":
ensure => present,
}
include timezone
include syslog-ng::vserver
+ class { 'sshd':
+ listen_address => $sshd_listen_address,
+ password_authentication => $ssh_password_authentication,
+ shared_ip => $ssh_shared_ip,
+ tcp_forwarding => $ssh_tcp_forwarding,
+ hardened_ssl => $ssh_hardened_ssl,
+ print_motd => $ssh_print_motd,
+ }
+
backupninja::sys { "sys":
ensure => present,
partitions => false,