[Mageia-sysadm] [395] add schedbot on main node

root at mageia.org root at mageia.org
Mon Nov 22 14:29:59 CET 2010


Revision: 395
Author:   blino
Date:     2010-11-22 14:29:59 +0100 (Mon, 22 Nov 2010)
Log Message:
-----------
add schedbot on main node

Modified Paths:
--------------
    puppet/modules/buildsystem/manifests/init.pp

Modified: puppet/modules/buildsystem/manifests/init.pp
===================================================================
--- puppet/modules/buildsystem/manifests/init.pp	2010-11-22 13:22:43 UTC (rev 394)
+++ puppet/modules/buildsystem/manifests/init.pp	2010-11-22 13:29:59 UTC (rev 395)
@@ -8,12 +8,18 @@
 
 	include ssh::auth
 	ssh::auth::key { $build_login: } # declare a key for build bot: RSA, 2048 bits
+	ssh::auth::key { $sched_login: } # declare a key for sched bot: RSA, 2048 bits
     }
 
     class mainnode inherits base {
         include iurtuser
         ssh::auth::server { $build_login: }
 
+        sshuser { $sched_login:
+          homedir => $sched_home_dir,
+          comment => "System user used to schedule builds",
+        }
+
         package { "task-bs-cluster-main":
             ensure => "installed"
         }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101122/76e1414b/attachment.html>


More information about the Mageia-sysadm mailing list