Filippo Giunchedi has uploaded a new change for review. https://gerrit.wikimedia.org/r/217678
Change subject: restbase: add restbase100[789] to manifest and hieradata ...................................................................... restbase: add restbase100[789] to manifest and hieradata Bug: T102015 Change-Id: Ie120c812b0ad1d23ba634e50627ee4461862663f --- A hieradata/hosts/restbase1007.yaml A hieradata/hosts/restbase1008.yaml A hieradata/hosts/restbase1009.yaml M hieradata/role/common/cassandra.yaml M hieradata/role/common/restbase.yaml M manifests/site.pp 6 files changed, 10 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/78/217678/1 diff --git a/hieradata/hosts/restbase1007.yaml b/hieradata/hosts/restbase1007.yaml new file mode 100644 index 0000000..df3f920 --- /dev/null +++ b/hieradata/hosts/restbase1007.yaml @@ -0,0 +1 @@ +cassandra::rack: 'a' diff --git a/hieradata/hosts/restbase1008.yaml b/hieradata/hosts/restbase1008.yaml new file mode 100644 index 0000000..422643c --- /dev/null +++ b/hieradata/hosts/restbase1008.yaml @@ -0,0 +1 @@ +cassandra::rack: 'b' diff --git a/hieradata/hosts/restbase1009.yaml b/hieradata/hosts/restbase1009.yaml new file mode 100644 index 0000000..acb9034 --- /dev/null +++ b/hieradata/hosts/restbase1009.yaml @@ -0,0 +1 @@ +cassandra::rack: 'd' diff --git a/hieradata/role/common/cassandra.yaml b/hieradata/role/common/cassandra.yaml index 21609dd..79df70d 100644 --- a/hieradata/role/common/cassandra.yaml +++ b/hieradata/role/common/cassandra.yaml @@ -11,6 +11,9 @@ - restbase1004.eqiad.wmnet - restbase1005.eqiad.wmnet - restbase1006.eqiad.wmnet + - restbase1007.eqiad.wmnet + - restbase1008.eqiad.wmnet + - restbase1009.eqiad.wmnet cassandra::max_heap_size: 8g # 1/4 heap size, no more than 100m/thread cassandra::heap_newsize: 2048m diff --git a/hieradata/role/common/restbase.yaml b/hieradata/role/common/restbase.yaml index 30e83fe..6a4cc4a 100644 --- a/hieradata/role/common/restbase.yaml +++ b/hieradata/role/common/restbase.yaml @@ -9,6 +9,9 @@ - restbase1004.eqiad.wmnet - restbase1005.eqiad.wmnet - restbase1006.eqiad.wmnet + - restbase1007.eqiad.wmnet + - restbase1008.eqiad.wmnet + - restbase1009.eqiad.wmnet restbase::logstash_host: logstash1001.eqiad.wmnet restbase::cassandra_defaultConsistency: localQuorum restbase::cassandra_localDc: "%{::site}" diff --git a/manifests/site.pp b/manifests/site.pp index 5ae264e..d535e40 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -2197,7 +2197,7 @@ } # restbase eqiad cluster -node /^restbase100[1-6]\.eqiad\.wmnet$/ { +node /^restbase100[1-9]\.eqiad\.wmnet$/ { if $::hostname == 'restbase1001' or $::hostname == 'restbase1006' { $ganglia_aggregator = true } -- To view, visit https://gerrit.wikimedia.org/r/217678 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie120c812b0ad1d23ba634e50627ee4461862663f Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Filippo Giunchedi <fgiunch...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits