GWicke has uploaded a new change for review.
https://gerrit.wikimedia.org/r/175633
Change subject: Include and configure the restbase role on the test cluster
......................................................................
Include and configure the restbase role on the test cluster
Also set up the cassandra seeds in hiera, so that the cassandra cluster nodes
can find each other & aren't as lonely any more.
Since this is for internal testing only we leave out passwords & encryption
for now. Default cassandra passwords will be used.
Change-Id: I330a3b8487b647f0d7c22b28d823a5b4f858dd59
---
M hieradata/eqiad.yaml
M manifests/site.pp
2 files changed, 22 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/33/175633/1
diff --git a/hieradata/eqiad.yaml b/hieradata/eqiad.yaml
index 4983d9b..ba7bf74 100644
--- a/hieradata/eqiad.yaml
+++ b/hieradata/eqiad.yaml
@@ -36,3 +36,24 @@
#
# This is redundant but will be useful when we start setting up codfw
openstack::version: 'icehouse'
+
+
+#
+# Cassandra test cluster for RESTBase
+cassandra::seeds:
+ - xenon.eqiad.wmnet
+ - cerium.eqiad.wmnet
+ - praseodymium.eqiad.wmnet
+
+#
+# RESTBase
+#
+# TODO: figure out a way to reference a cassandra cluster definition (see
+# above) directly without repeating it
+#
+restbase::seeds:
+ - xenon.eqiad.wmnet
+ - cerium.eqiad.wmnet
+ - praseodymium.eqiad.wmnet
+restbase::logstash_host: logstash1002.eqiad.wmnet
+restbase::cassandra_defaultConsistency: localQuorum
diff --git a/manifests/site.pp b/manifests/site.pp
index 547cc79..7574a5e 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -444,6 +444,7 @@
class { 'admin': groups => ['cassandra-roots'] }
include standard
include role::cassandra
+ include role::restbase
}
node /^(chromium|hydrogen)\.wikimedia\.org$/ {
--
To view, visit https://gerrit.wikimedia.org/r/175633
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I330a3b8487b647f0d7c22b28d823a5b4f858dd59
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: GWicke <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits