[MediaWiki-commits] [Gerrit] mediawiki/vagrant[master]: [cirrus] Set allow_nuke to true in extension config

2017-03-31 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/340153 )

Change subject: [cirrus] Set allow_nuke to true in extension config
..


[cirrus] Set allow_nuke to true in extension config

A new setting protects against accidentally nuking indices. Set this
to true by default in vagrant. The indices used are often so small
that nuke+recreate is a trivial and common task.

Change-Id: I0a7a104a5ae7590b417dfb4810493aeefc774aa5
---
M puppet/modules/elasticsearch/templates/CirrusSearch.php.erb
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  BryanDavis: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/puppet/modules/elasticsearch/templates/CirrusSearch.php.erb 
b/puppet/modules/elasticsearch/templates/CirrusSearch.php.erb
index 20fadd2..519989a 100644
--- a/puppet/modules/elasticsearch/templates/CirrusSearch.php.erb
+++ b/puppet/modules/elasticsearch/templates/CirrusSearch.php.erb
@@ -3,6 +3,8 @@
 include_once 
"$IP/extensions/CirrusSearch/tests/jenkins/FullyFeaturedConfig.php";
 $wgCirrusSearchExtraIndexes[ NS_FILE ] = array( 'commonswiki_file' );
 
+$wgCirrusSearchDevelOptions['allow_nuke'] = true;
+
 $wgMWLoggerDefaultSpi['args'][0]['loggers']['CirrusSearchRequestSet'] = array(
'handlers' => array( 'kafka' ),
'processors' => array(),

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0a7a104a5ae7590b417dfb4810493aeefc774aa5
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/vagrant
Gerrit-Branch: master
Gerrit-Owner: EBernhardson 
Gerrit-Reviewer: BryanDavis 
Gerrit-Reviewer: DCausse 
Gerrit-Reviewer: Dduvall 
Gerrit-Reviewer: jenkins-bot <>

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


[MediaWiki-commits] [Gerrit] mediawiki/vagrant[master]: [cirrus] Set allow_nuke to true in extension config

2017-02-27 Thread EBernhardson (Code Review)
EBernhardson has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/340153 )

Change subject: [cirrus] Set allow_nuke to true in extension config
..

[cirrus] Set allow_nuke to true in extension config

A new setting protects against accidentally nuking indices. Set this
to true by default in vagrant. The indices used are often so small
that nuke+recreate is a trivial and common task.

Change-Id: I0a7a104a5ae7590b417dfb4810493aeefc774aa5
---
M puppet/modules/elasticsearch/templates/CirrusSearch.php.erb
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/vagrant 
refs/changes/53/340153/1

diff --git a/puppet/modules/elasticsearch/templates/CirrusSearch.php.erb 
b/puppet/modules/elasticsearch/templates/CirrusSearch.php.erb
index 20fadd2..519989a 100644
--- a/puppet/modules/elasticsearch/templates/CirrusSearch.php.erb
+++ b/puppet/modules/elasticsearch/templates/CirrusSearch.php.erb
@@ -3,6 +3,8 @@
 include_once 
"$IP/extensions/CirrusSearch/tests/jenkins/FullyFeaturedConfig.php";
 $wgCirrusSearchExtraIndexes[ NS_FILE ] = array( 'commonswiki_file' );
 
+$wgCirrusSearchDevelOptions['allow_nuke'] = true;
+
 $wgMWLoggerDefaultSpi['args'][0]['loggers']['CirrusSearchRequestSet'] = array(
'handlers' => array( 'kafka' ),
'processors' => array(),

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0a7a104a5ae7590b417dfb4810493aeefc774aa5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/vagrant
Gerrit-Branch: master
Gerrit-Owner: EBernhardson 

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