]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Using $sshd_shared_ip
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 30 Jan 2010 23:34:26 +0000 (21:34 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 30 Jan 2010 23:34:26 +0000 (21:34 -0200)
manifests/init.pp

index c8ac0b02317b6cf568544d5097a39f8cffe54f34..9c39450601a0890614f9bc103ef7a44d4c9e0484 100644 (file)
@@ -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