]> gitweb.fluxo.info Git - puppet-sshd.git/commitdiff
too tired to type
authorTomas Barton <barton.tomas@gmail.com>
Fri, 14 Feb 2014 00:48:40 +0000 (01:48 +0100)
committerTomas Barton <barton.tomas@gmail.com>
Fri, 14 Feb 2014 00:48:40 +0000 (01:48 +0100)
manifests/base.pp
manifests/init.pp

index 339e8a39c09bd83806b093353be0b6653154ba68..803081f5244b80e975a1ee225e1a38810530fd34 100644 (file)
@@ -1,5 +1,5 @@
 class sshd::base(
-  $ipaddres_fact = $sshd::ipaddres_fact,
+  $ipaddress_fact = $sshd::ipaddress_fact,
 ) {
 
   $sshd_config_content = $::lsbdistcodename ? {
@@ -29,7 +29,7 @@ class sshd::base(
       }
       # In case the node has uses a shared network address,
       # we don't define a sshkey resource using an IP address
-      $ipaddr = inline_template("<%= scope.lookupvar(ipaddres_fact) %>")
+      $ipaddr = inline_template("<%= scope.lookupvar(ipaddress_fact) %>")
       if $sshd::shared_ip == 'no' {
         @@sshkey{$ipaddr:
 
index 927bbc61868a85362ac0d4e3acf67aa30d374671..e3cb8427a54a9fad3c98deb27bcdb8652961547b 100644 (file)
@@ -34,7 +34,7 @@ class sshd(
   $print_motd = 'yes',
   $manage_shorewall = false,
   $shorewall_source = 'net',
-  $ipaddres_fact = 'ipaddress',
+  $ipaddress_fact = 'ipaddress',
 ) {
 
   validate_bool($manage_shorewall)