Hashar has uploaded a new change for review.

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


Change subject: contint: python dependency for publish-console.py
......................................................................

contint: python dependency for publish-console.py

publish-console.py is a basic script which is run by the Jenkins slave
present on the CI website.  Given some arguments, it will fetch the
console from the Jenkins master setup locally and write down the console
as a flat file to make it available under /logs/.

The script web requests are handled with python-requests.

Change-Id: Ifd802b47415bd78c8aaad619aa3e390653b5197e
---
A modules/contint/manifests/publish-console.pp
M modules/contint/manifests/website.pp
2 files changed, 14 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/32/75632/1

diff --git a/modules/contint/manifests/publish-console.pp 
b/modules/contint/manifests/publish-console.pp
new file mode 100644
index 0000000..142461a
--- /dev/null
+++ b/modules/contint/manifests/publish-console.pp
@@ -0,0 +1,12 @@
+# Dependencies for the Jenkins console publisher
+# Files are made available under:
+# https://integration.wikimedia.org/logs/
+class contint::publish-console {
+
+  # publish-console.py dependencies
+  package { 'python-requests':
+    ensure => present,
+  }
+
+
+}
diff --git a/modules/contint/manifests/website.pp 
b/modules/contint/manifests/website.pp
index c8864c8..6191f23 100644
--- a/modules/contint/manifests/website.pp
+++ b/modules/contint/manifests/website.pp
@@ -3,6 +3,8 @@
 # https://doc.wikimedia.org/
 class contint::website {
 
+  require contint::publish-console
+
   # Static files in these docroots are in integration/docroot.git
 
   file { '/srv/org':

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifd802b47415bd78c8aaad619aa3e390653b5197e
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