Dzahn has submitted this change and it was merged.

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.

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

Approvals:
  jenkins-bot: Verified
  Dzahn: Looks good to me, approved



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: merged
Gerrit-Change-Id: Ifd802b47415bd78c8aaad619aa3e390653b5197e
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Hashar <has...@free.fr>
Gerrit-Reviewer: Dzahn <dz...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to