Dzahn has submitted this change and it was merged.

Change subject: dumps: add classes for zim dumps, add imagemagick
......................................................................


dumps: add classes for zim dumps, add imagemagick

From T94457 we already now that ZIM dumps will require imagemagick and
other things.

Start with creating the role class and a new manifest that installs imagemagick.

Bug:T94457
Change-Id: Ibf58366c3e6e25f21184d9fa60b84b739bd0ce03
---
M manifests/role/dumps.pp
A modules/dumps/manifests/zim.pp
2 files changed, 18 insertions(+), 0 deletions(-)

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



diff --git a/manifests/role/dumps.pp b/manifests/role/dumps.pp
index e2ef5e1..12e9289 100644
--- a/manifests/role/dumps.pp
+++ b/manifests/role/dumps.pp
@@ -9,4 +9,14 @@
         description   => 'HTTP',
         check_command => 'check_http'
     }
+
 }
+
+# ZIM dumps - https://en.wikipedia.org/wiki/ZIM_%28file_format%29
+class role::dumps::zim {
+
+    system::role { 'dumps::zim': description => 'ZIM dumps' }
+
+    include ::dumps::zim
+}
+
diff --git a/modules/dumps/manifests/zim.pp b/modules/dumps/manifests/zim.pp
new file mode 100644
index 0000000..fb2175e
--- /dev/null
+++ b/modules/dumps/manifests/zim.pp
@@ -0,0 +1,8 @@
+# ZIM dumps - https://en.wikipedia.org/wiki/ZIM_%28file_format%29
+class dumps::zim {
+
+    package { 'imagemagick':
+        ensure => present,
+    }
+
+}

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibf58366c3e6e25f21184d9fa60b84b739bd0ce03
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <dz...@wikimedia.org>
Gerrit-Reviewer: ArielGlenn <ar...@wikimedia.org>
Gerrit-Reviewer: Dzahn <dz...@wikimedia.org>
Gerrit-Reviewer: John F. Lewis <johnflewi...@gmail.com>
Gerrit-Reviewer: Yuvipanda <yuvipa...@gmail.com>
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