From e2a69e56a1afcb8ad4b282e81c6a8702cf6e6005 Mon Sep 17 00:00:00 2001 From: Tomas Barton Date: Fri, 14 Feb 2014 01:48:40 +0100 Subject: too tired to type --- manifests/base.pp | 4 ++-- manifests/init.pp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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) -- cgit v1.2.3