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 <[email protected]>
Gerrit-Reviewer: ArielGlenn <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: John F. Lewis <[email protected]>
Gerrit-Reviewer: Yuvipanda <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits