Ottomata has submitted this change and it was merged.
Change subject: Installing perl packages for wikistats dependencies
......................................................................
Installing perl packages for wikistats dependencies
Change-Id: Ica5c336af3826bf4c8322e5ce66f69a54e73cb0b
---
M manifests/misc/statistics.pp
M manifests/role/statistics.pp
2 files changed, 25 insertions(+), 2 deletions(-)
Approvals:
Ottomata: Verified; Looks good to me, approved
jenkins-bot: Verified
diff --git a/manifests/misc/statistics.pp b/manifests/misc/statistics.pp
index 02f7528..68bc50b 100644
--- a/manifests/misc/statistics.pp
+++ b/manifests/misc/statistics.pp
@@ -82,13 +82,34 @@
class misc::statistics::packages {
- package { ['mc', 'zip', 'p7zip', 'p7zip-full', 'subversion',
'mercurial', 'tofrodos', 'git-review']:
+ package { [
+ 'mc',
+ 'zip',
+ 'p7zip',
+ 'p7zip-full',
+ 'subversion',
+ 'mercurial',
+ 'tofrodos',
+ 'git-review',
+ ]:
ensure => latest;
}
include misc::statistics::packages::python
}
+# packages needed for wikistats (stats.wikimedia.org generation code)
+class misc::statistics::packages::wikistats {
+ package { [
+ 'libjson-xs-perl',
+ 'libtemplate-perl',
+ 'libnet-patricia-perl',
+ 'libregexp-assemble-perl',
+ ]:
+ ensure => 'installed',
+ }
+}
+
# Packages needed for various python stuffs
# on statistics servers.
class misc::statistics::packages::python {
diff --git a/manifests/role/statistics.pp b/manifests/role/statistics.pp
index d11e542..7c79ebb 100644
--- a/manifests/role/statistics.pp
+++ b/manifests/role/statistics.pp
@@ -25,7 +25,9 @@
# generate gerrit stats from stat1.
misc::statistics::gerrit_stats,
# rsync logs from logging hosts over to stat1
- misc::statistics::rsync::jobs
+ misc::statistics::rsync::jobs,
+ # packages needed for wikistats stats generation
+ misc::statistics::packages::wikistats
}
class role::statistics::www inherits role::statistics {
--
To view, visit https://gerrit.wikimedia.org/r/72110
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ica5c336af3826bf4c8322e5ce66f69a54e73cb0b
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ottomata <[email protected]>
Gerrit-Reviewer: Ottomata <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits