Milimetric has uploaded a new change for review.

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


Change subject: [not ready for review] Productionizing Wikimetrics
......................................................................

[not ready for review] Productionizing Wikimetrics

Change-Id: Ib19894c1c38f6853e86a05419feb6cd57870c5ee
Card: analytics 1185
---
M manifests/role/deployment.pp
A manifests/role/wikimetrics.pp
2 files changed, 16 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/42/96042/1

diff --git a/manifests/role/deployment.pp b/manifests/role/deployment.pp
index dcedd31..bdcb592 100644
--- a/manifests/role/deployment.pp
+++ b/manifests/role/deployment.pp
@@ -94,6 +94,10 @@
         'grain'    => 'analytics-kraken',
         'upstream' => 'https://gerrit.wikimedia.org/r/p/analytics/kraken',
     },
+    'analytics/wikimetrics'          => {
+        'grain'    => 'analytics-wikimetrics',
+        'upstream' => 'https://gerrit.wikimedia.org/r/p/analytics/wikimetrics',
+    },
   }
 }
 
diff --git a/manifests/role/wikimetrics.pp b/manifests/role/wikimetrics.pp
new file mode 100644
index 0000000..99d3e95
--- /dev/null
+++ b/manifests/role/wikimetrics.pp
@@ -0,0 +1,12 @@
+# wikimetrics.pp - role class defining the wikimetrics website
+
+# == Class role::wikimetrics
+# Wikimetrics is the mediawiki metric reporting website
+class role::wikimetrics {
+
+    # Include Wikimetrics repository deployment target.
+    deployment::target { 'analytics-wikimetrics': }
+    # wikimetrics repository is deployed via git deploy into here.
+    # You must deploy this yourself, puppet will not do it for you.
+    $path = '/srv/deployment/analytics/wikimetrics'
+}

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib19894c1c38f6853e86a05419feb6cd57870c5ee
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Milimetric <dandree...@wikimedia.org>

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

Reply via email to