aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/ssh_authorized_key.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/manifests/ssh_authorized_key.pp b/manifests/ssh_authorized_key.pp
index 2096099..9706018 100644
--- a/manifests/ssh_authorized_key.pp
+++ b/manifests/ssh_authorized_key.pp
@@ -1,5 +1,6 @@
# wrapper to have some defaults.
define sshd::ssh_authorized_key(
+ $ensure = 'present',
$type = 'ssh-dss',
$key,
$user = 'root',
@@ -25,6 +26,7 @@ define sshd::ssh_authorized_key(
}
}
ssh_authorized_key{$name:
+ ensure => $ensure,
type => $type,
key => $key,
user => $real_user,