summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Barton <barton.tomas@gmail.com>2014-02-14 01:48:40 +0100
committerTomas Barton <barton.tomas@gmail.com>2014-02-14 01:48:40 +0100
commite2a69e56a1afcb8ad4b282e81c6a8702cf6e6005 (patch)
treec44ea917970cb8207662da24c94b3b8426ffd9ba
parent2f12205c6b9a705425b4320961a1a66d82e707b4 (diff)
too tired to type
-rw-r--r--manifests/base.pp4
-rw-r--r--manifests/init.pp2
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)