From: Tomas Barton Date: Fri, 14 Feb 2014 00:48:40 +0000 (+0100) Subject: too tired to type X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=e2a69e56a1afcb8ad4b282e81c6a8702cf6e6005;p=puppet-sshd.git too tired to type --- diff --git a/manifests/base.pp b/manifests/base.pp index 339e8a3..803081f 100644 --- a/manifests/base.pp +++ b/manifests/base.pp @@ -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: diff --git a/manifests/init.pp b/manifests/init.pp index 927bbc6..e3cb842 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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)