aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-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)