aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp7
1 files changed, 4 insertions, 3 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index c8ac0b0..9c39450 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -46,6 +46,10 @@ class nodo {
$apt_update_method = 'cron'
include apt
+ # Default SSH configuration
+ $sshd_password_authentication = "yes"
+ $sshd_shared_ip = "yes"
+
file { "/etc/hostname":
owner => "root",
group => "root",
@@ -105,7 +109,6 @@ class nodo::server inherits nodo {
# can live together in the same physical host.
#
$sshd_listen_address = [ "$ipaddress" ]
- $sshd_password_authentication = "yes"
include sshd
# Munin
@@ -136,8 +139,6 @@ class nodo::server inherits nodo {
}
class nodo::vserver inherits nodo {
- $sshd_password_authentication = "yes"
- $sshd_internal_ip = "yes"
include sshd
include timezone
include syslog-ng::vserver