Hashar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/53875


Change subject: jenkins::slave to setup a Jenkins agent
......................................................................

jenkins::slave to setup a Jenkins agent

To setup a jenkins slave, one simply need an account with ssh access on
the box and some Java JRE.

Change-Id: Ib339d83f9037d7caef8bdfad0b54edf3504f44a0
---
A modules/jenkins/manifests/slave.pp
1 file changed, 12 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/75/53875/1

diff --git a/modules/jenkins/manifests/slave.pp 
b/modules/jenkins/manifests/slave.pp
new file mode 100644
index 0000000..5932ddf
--- /dev/null
+++ b/modules/jenkins/manifests/slave.pp
@@ -0,0 +1,12 @@
+class jenkins::slave {
+
+  if $::realm == 'production' {
+    include jenkins::user
+  }
+  # On labs, user need to be setup via the labsconsole
+
+  # Slave needs openjdk, it will then happilly fetch all the components
+  # it needs from the master over ssh.
+  java { 'java-7-openjdk': version => 7 }
+
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/53875
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib339d83f9037d7caef8bdfad0b54edf3504f44a0
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Hashar <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to