aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/sshuser.pp
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-03-16 23:51:59 +0000
committerMichael Scherer <misc@mageia.org>2012-03-16 23:51:59 +0000
commitba3c8be9b2e208db197bd0b39b7dbf5f4098fb0a (patch)
tree9bb3683c94ccdb872fb14c0c21452bf26523acb9 /modules/buildsystem/manifests/sshuser.pp
parent1813cf3020b31a3a9ceb4a61678c20b74f3137df (diff)
downloadpuppet-ba3c8be9b2e208db197bd0b39b7dbf5f4098fb0a.tar
puppet-ba3c8be9b2e208db197bd0b39b7dbf5f4098fb0a.tar.gz
puppet-ba3c8be9b2e208db197bd0b39b7dbf5f4098fb0a.tar.bz2
puppet-ba3c8be9b2e208db197bd0b39b7dbf5f4098fb0a.tar.xz
puppet-ba3c8be9b2e208db197bd0b39b7dbf5f4098fb0a.zip
create the key when we declare a ssh user
Diffstat (limited to 'modules/buildsystem/manifests/sshuser.pp')
-rw-r--r--modules/buildsystem/manifests/sshuser.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/sshuser.pp b/modules/buildsystem/manifests/sshuser.pp
index 0a1cd176..fd703f59 100644
--- a/modules/buildsystem/manifests/sshuser.pp
+++ b/modules/buildsystem/manifests/sshuser.pp
@@ -33,4 +33,9 @@ define buildsystem::sshuser($homedir, $comment, $groups = []) {
group => $name,
require => File[$homedir],
}
+
+ ssh::auth::key { $login:
+ # declare a key for sched bot: RSA, 2048 bits
+ home => $homedir,
+ }
}