Ottomata has uploaded a new change for review.

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


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, 27 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/10/72110/1

diff --git a/manifests/misc/statistics.pp b/manifests/misc/statistics.pp
index 02f7528..a88652b 100644
--- a/manifests/misc/statistics.pp
+++ b/manifests/misc/statistics.pp
@@ -82,13 +82,36 @@
 
 
 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: newchange
Gerrit-Change-Id: Ica5c336af3826bf4c8322e5ce66f69a54e73cb0b
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ottomata <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to