summaryrefslogtreecommitdiff
path: root/manifests/ssh_authorized_key.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-12-18 18:36:05 +0100
committermh <mh@immerda.ch>2009-12-18 18:36:05 +0100
commit0f281c8d4d5250a5fb6159b603ed97f29ce6a010 (patch)
treebc4db155f338d08de04192a23d9bb84d7c69c962 /manifests/ssh_authorized_key.pp
parent1d595dd34ce2d7b1538a62919229830824a2caee (diff)
enable that ssh auth-keys can be removed
Diffstat (limited to 'manifests/ssh_authorized_key.pp')
-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,