[MediaWiki-commits] [Gerrit] wikimedia/wikimania-scholarships[master]: apply: copy-edit

2017-01-18 Thread Matanya (Code Review)
Matanya has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332812 )

Change subject: apply: copy-edit
..

apply: copy-edit

Change-Id: I6755dd9e1f8885a2662a0fe72e39cffe3c04a660
---
M data/i18n/en.json
1 file changed, 5 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/wikimania-scholarships 
refs/changes/12/332812/1

diff --git a/data/i18n/en.json b/data/i18n/en.json
index 9e0c9a5..44b79f5 100644
--- a/data/i18n/en.json
+++ b/data/i18n/en.json
@@ -31,7 +31,7 @@
 
"deadline-passed": "Scholarship application deadline was February 
20, 23:59 UTC.\nWe will notify applicants in April 2017 about the result 
of their application.\nPlease see the scholarships
 page on the wiki for more details.",
 
-   "form-intro": "This is the application for sponsorship to attend https://wikimania2017.wikimedia.org/wiki/Special:MyLanguage/Main_Page\;>Wikimania
 2017, the annual international conference centered on Wikimedia projects. 
Awardees will receive a scholarship which will cover conference registration 
fees, hotel, and roundtrip travel to Wikimania in Montréal, Quebec, Canada , 
Aug 9-13, 2017.\nApplications may be submitted in any language, 
but every applicant must provide evidence of English language abilities 
that are at a level which would enable them to participate in Wikimania, a 
conference which is primarily conducted in English. Sufficient English 
abilities could be demonstrated in the application itself or 
elsewhere.\nThis is not a scholarship for university study. Applications 
not obviously related to the conference will be discarded.\nPlease 
carefully consider your financial needs before applying for a scholarship to 
attend Wikimania. There are limited funds available and many applicants do not 
have the financial means to attend Wikimania without this opportunity. Thank 
you.\nPlease note that if you need more then 10 minutes to 
complete this application, please draft your answers in a text editor, 
reload this page and then copy-paste your answers into corresponding fields 
before submitting. This application may give an error (\"Missing or invalid 
CSRF token\") if it is open for more then 15 minutes before 
submitting.\nThe deadline to apply is February 20, 23:59 
UTC. ",
+   "form-intro": "This is the application for sponsorship to attend https://wikimania2017.wikimedia.org/wiki/Special:MyLanguage/Main_Page\;>Wikimania
 2017, the annual international conference centered on Wikimedia projects. 
Awardees will receive a scholarship which will cover conference registration 
fees, hotel, and roundtrip travel to Wikimania in Montréal, Quebec, Canada, Aug 
9-13, 2017.\nApplications may be submitted in any language, but 
every applicant must provide evidence of English language abilities that 
are at a level which would enable them to participate in Wikimania, a 
conference which is primarily conducted in English. Sufficient English 
abilities could be demonstrated in the application itself or 
elsewhere.\nThis is not a scholarship for university study. Applications 
not obviously related to the conference will be discarded.\nPlease 
carefully consider your financial needs before applying for a scholarship to 
attend Wikimania. There are limited funds available and many applicants do not 
have the financial means to attend Wikimania without this opportunity. Thank 
you.\nPlease note that if you need more then 10 minutes to 
complete this application, please draft your answers in a text editor, 
reload this page and then copy-paste your answers into corresponding fields 
before submitting. This application may give an error (\"Missing or invalid 
CSRF token\") if it is open for more then 15 minutes before 
submitting.\nThe deadline to apply is February 20, 23:59 
UTC. ",
 
"form-intro-faq": "Frequently asked questions",
 
@@ -116,12 +116,12 @@
"form-engagement-option4": "Wikimedia Check User, Admin, Bureaucrat, 
Steward, and/or OTRS (current or former)",
"form-engagement-option5": "Wikimedia Foundation Grantee",
"form-engagement-option6": "Wikimedia Researcher",
-   "form-engagement-option7": "Participant in a Wikimedia program (e.g. 
GLAM partnerships, Education program, etc)",
+   "form-engagement-option7": "Participant in a Wikimedia program (e.g. 
GLAM partnerships, Education program, etc.)",
"form-engagement-option8": "Participant in Wikimedia organized events 
(e.g. photographer contributing to Wiki Loves Monuments, workshop attendee)",
"form-engagement-option9": "Organizer of Wikimedia events (e.g. WLM, 
edit-a-thons)",
"form-engagement-option10": "None of the above",
 
-   "form-wikimedia-staff": "Are you currently a paid or contract staff of 
any Wikimedia organization?",
+   "form-wikimedia-staff": "Are you currently a paid or contract staff 
memeber of any Wikimedia organization?",
 

[MediaWiki-commits] [Gerrit] wikimedia/wikimania-scholarships[master]: link Wikimania Scholarship Committee

2017-01-14 Thread Matanya (Code Review)
Matanya has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332068 )

Change subject: link Wikimania Scholarship Committee
..

link Wikimania Scholarship Committee

Change-Id: Ic8d3f9bbb40771932cfcc969bee3400f453759f6
---
M data/i18n/en.json
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/wikimania-scholarships 
refs/changes/68/332068/1

diff --git a/data/i18n/en.json b/data/i18n/en.json
index 6c84992..6a8c9a7 100644
--- a/data/i18n/en.json
+++ b/data/i18n/en.json
@@ -150,7 +150,7 @@
"form-info-true": "I certify that all of the information provided with 
my application is true and accurate to the best of my knowledge and belief. The 
Wikimedia Foundation reserves the right to require grant recipients to pay back 
all or part of the grant if any of the information I provide is found to be 
untrue or inaccurate.",
 
"form-privacy": "Privacy",
-   "form-review": "All information contained in this application will be 
reviewed by the members of the Wikimania Scholarship Committee. All personal 
information will be held strictly confidential by the Committee, and the https://wikimediafoundation.org/\;>Wikimedia Foundation.",
+   "form-review": "All information contained in this application will be 
reviewed by the members of the https://wikimania2017.wikimedia.org/wiki/Special:MyLanguage/Scholarship_committee/\;>Wikimania
 Scholarship Committee. All personal information will be held strictly 
confidential by the Committee, and the https://wikimediafoundation.org/\;>Wikimedia Foundation.",
"form-chapteragree": "Wikimedia movement organizations (Chapters, 
Thematic organizations, and User Groups) also offer scholarships for Wikimania, 
separate from the Wikimedia Foundation Scholarship Program. While this 
application is submitted for a Wikimedia Foundation Scholarship, a Wikimedia 
movement organization may request access to applications that are relevant to 
their country or community, for the purpose of selecting and awarding their 
own, independently awarded scholarships. \n Please indicate whether or not 
you would like your information shared with other, independent Wikimedia 
movement organizations.",
 
"form-rights-heading": "Applicant Rights & Consent to Data Processing 
and Transfer",

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic8d3f9bbb40771932cfcc969bee3400f453759f6
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/wikimania-scholarships
Gerrit-Branch: master
Gerrit-Owner: Matanya 

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


[MediaWiki-commits] [Gerrit] operations/puppet[production]: remove absented file long gone

2016-12-21 Thread Matanya (Code Review)
Matanya has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/328596 )

Change subject: remove absented file long gone
..

remove absented file long gone

Change-Id: Idb67dc632a5258a426f8b52b5adb0950f534dd3d
---
M modules/scap/manifests/scripts.pp
1 file changed, 0 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/96/328596/1

diff --git a/modules/scap/manifests/scripts.pp 
b/modules/scap/manifests/scripts.pp
index 424aa8c..c4b7d65 100644
--- a/modules/scap/manifests/scripts.pp
+++ b/modules/scap/manifests/scripts.pp
@@ -64,9 +64,6 @@
 mode   => '0555',
 source => 'puppet:///modules/scap/purge-varnish',
 }
-file { '/usr/local/bin/refreshWikiversionsCDB':
-ensure => absent,
-}
 file { '/usr/local/bin/set-group-write':
 owner  => 'root',
 group  => 'root',

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idb67dc632a5258a426f8b52b5adb0950f534dd3d
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya 

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


[MediaWiki-commits] [Gerrit] operations/puppet[production]: standard packages: re-add intel-microcode

2016-09-24 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: standard packages: re-add intel-microcode
..

standard packages: re-add intel-microcode

bug: T127825
Change-Id: I4b4ab4e98129a73840b4f387f479ff92941926e0
---
M modules/base/manifests/standard_packages.pp
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/14/312714/1

diff --git a/modules/base/manifests/standard_packages.pp 
b/modules/base/manifests/standard_packages.pp
index 788bee7..4357941 100644
--- a/modules/base/manifests/standard_packages.pp
+++ b/modules/base/manifests/standard_packages.pp
@@ -21,6 +21,7 @@
 'gdisk',
 'htop',
 'httpry',
+'intel-microcode',
 'iperf',
 'jq',
 'lldpd',

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4b4ab4e98129a73840b4f387f479ff92941926e0
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya 

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


[MediaWiki-commits] [Gerrit] operations/mediawiki-config[master]: allow sysops on hewikt to remove autopatroller and patroller...

2016-07-30 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: allow sysops on hewikt to remove autopatroller and patroller 
rights
..

allow sysops on hewikt to remove autopatroller and patroller rights

(bug T140563)

Change-Id: I8d4caffda2a5ca9b745a1f56726f2a86c13f870f
---
M wmf-config/InitialiseSettings.php
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/54/302054/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 4256caa..a8f23e3 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -9970,6 +9970,9 @@
'+hewikiquote' => [
'sysop' => [ 'autopatrolled' ],
],
+   '+hiwiktionary' => [
+'sysop' => [ 'patroller', 'autopatrolled' ], //T140563
+   ],
'+hewikivoyage' => [
'sysop' => [ 'autopatrolled' ], // T52377
],

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8d4caffda2a5ca9b745a1f56726f2a86c13f870f
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Matanya 

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


[MediaWiki-commits] [Gerrit] webp: enabled by default - remove old dead code - change (operations/mediawiki-config)

2016-04-06 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: webp: enabled by default - remove old dead code
..

webp: enabled by default - remove old dead code

Bug: T27397
Change-Id: Ie88319e318d5587b57fa5b9771a8afd75603ad51
---
M wmf-config/CommonSettings.php
1 file changed, 0 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/73/281973/1

diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 9d2b734..a119e2a 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -457,9 +457,6 @@
 
 $wgFileExtensions = array_merge( $wgFileExtensions, $wmgFileExtensions );
 
-// Disable webp for now. T27397
-$wgFileExtensions = array_values( array_diff( $wgFileExtensions, array( 'webp' 
) ) );
-
 if ( isset( $wmgUploadStashMaxAge ) ) {
$wgUploadStashMaxAge = $wmgUploadStashMaxAge;
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie88319e318d5587b57fa5b9771a8afd75603ad51
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Matanya 

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


[MediaWiki-commits] [Gerrit] raise upload limit to 4 GB - change (operations/mediawiki-config)

2016-04-01 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: raise upload limit to 4 GB
..

raise upload limit to 4 GB

This patch will remove the need for server side uploads, as the mediawiki limit
will be equal to backend limit.

Change-Id: I09311960bc4b0adde15f2eb68f8a584d75794346
---
M wmf-config/InitialiseSettings-labs.php
1 file changed, 7 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/50/280850/1

diff --git a/wmf-config/InitialiseSettings-labs.php 
b/wmf-config/InitialiseSettings-labs.php
index 4f6240e..fd58dfd 100644
--- a/wmf-config/InitialiseSettings-labs.php
+++ b/wmf-config/InitialiseSettings-labs.php
@@ -652,5 +652,12 @@
'wmgUseCollection' => array(
'zhwiki' => true, // T128425
),
+
+'wgMaxUploadSize' => array(
+// Affects URL uploads and chunked uploads (experimental).
+// Limit on other web uploads is enforced by PHP.
+   'default' => 1024 * 1024 * 4294, // 4 GB (i.e. equals 2^31 - 1)
+   'ptwiki' => 1024 * 500, // 500 KB - T25186
+),
);
 } # wmflLabsSettings()

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I09311960bc4b0adde15f2eb68f8a584d75794346
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Matanya 

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


[MediaWiki-commits] [Gerrit] upload limit: raise to 5 GB - change (operations/mediawiki-config)

2016-04-01 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: upload limit: raise to 5 GB
..

upload limit: raise to 5 GB

This patch will remove the need for server side uploads, as the mediawiki limit
will be equal to swift limit.

Change-Id: I829f949d9f1b449872a19abf552018aebc49fb15
---
M wmf-config/InitialiseSettings.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/31/280831/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 18840fa..a475966 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -12060,7 +12060,7 @@
 'wgMaxUploadSize' => array(
// Affects URL uploads and chunked uploads (experimental).
// Limit on other web uploads is enforced by PHP.
-   'default' => 1024 * 1024 * 2047, // 2047 MB (i.e. less than 2^31 - 1)
+   'default' => 1024 * 1024 * 5119, // 5 GB (i.e. less than 2^31 - 1)
'ptwiki' => 1024 * 500, // 500 KB - T25186
 ),
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I829f949d9f1b449872a19abf552018aebc49fb15
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Matanya 

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


[MediaWiki-commits] [Gerrit] adding delete.php tool - change (labs...stewardbots)

2016-03-08 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: adding delete.php tool
..

adding delete.php tool

Change-Id: I099329a6f808d8ec956f04bc995cbabc8a4ce705
---
M hat-web-tool/delete.php
1 file changed, 34 insertions(+), 32 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/stewardbots 
refs/changes/86/275886/1

diff --git a/hat-web-tool/delete.php b/hat-web-tool/delete.php
index 301ebf9..13f276e 100644
--- a/hat-web-tool/delete.php
+++ b/hat-web-tool/delete.php
@@ -1,15 +1,15 @@
 
 Delete
-
+  
 @import "blue/style.css";
-
-
+ 
+ 
 
-$(document).ready(function()
-{
-$("#projects").tablesorter();
-}
-);
+$(document).ready(function() 
+{ 
+$("#projects").tablesorter(); 
+} 
+); 
 
  10) {
$admins=10;
}
@@ -53,45 +53,45 @@
 
$query = "SELECT dbname,REPLACE(url, 'http://', 'https://') AS domain, 
slice FROM wiki WHERE url IS NOT NULL AND is_closed=0;";
$result = mysql_query($query);
-
+   
if (!$result) die ("Database access failed: " . mysql_error());
-
+   
$rows = mysql_num_rows($result);
 
for ($j = 0; $j < $rows; ++$j)
{
$row = mysql_fetch_row($result);
-
+   
$db_server_temp = mysql_connect($row[2], $db_username, 
$db_password);
if (!$db_server_temp) die ("Unable to connect to MySQL: " . 
mysql_error());
-
+   
mysql_select_db($row[0]."_p", $db_server_temp) or die ("Unable 
to select database: " . mysql_error());
 
$query2 = "SELECT sum(if(ug_group = 'sysop', 1, 0)) FROM 
user_groups;";
$result2 = mysql_query($query2);
-
+   
if (!$result2) die ("Database access failed: " . mysql_error());
-
+   
$row2 = mysql_fetch_row($result2);
-
+   
$numAdmins = ($row2[0]?$row2[0]:0);
-
+   
if ($numAdmins <= $admins) {
-
+   
$queryL = "SELECT user_name, log_timestamp FROM logging 
JOIN user ON user_id = log_user JOIN user_groups ON ug_user = user_id WHERE 
log_type IN ('delete', 'block', 'protect') AND ug_group = 'sysop' ORDER BY 
log_timestamp DESC LIMIT 1;";
$resultL = mysql_query($queryL);
-
+   
if (!$resultL) die ("Database access failed: " . 
mysql_error());
-
+   
$rowL = mysql_fetch_row($resultL);
-
+   
$query3 = "SELECT pl_title FROM pagelinks LEFT JOIN 
page ON page_id = pl_from WHERE page_title = 'Delete' AND page_namespace = 10 
AND page_is_redirect = 1 LIMIT 1;";
$result3 = mysql_query($query3);
-
+   
if (!$result3) die ("Database access failed: " . 
mysql_error());
-
+   
$template = "Delete";
-
+   
if (!$result3) {
 $template = "Delete";
} elseif (mysql_num_rows($result3) == 1) {
@@ -99,14 +99,14 @@
} else {
  $template = "Delete";
}
-
+
$query4 = "SELECT page_title, rev_timestamp, rev_user_text, 
rev_comment, rev_id FROM page LEFT JOIN templatelinks ON tl_from = page_id LEFT 
JOIN revision ON rev_page = page_id WHERE tl_title = '" . $template . "' AND 
tl_namespace=10 AND rev_timestamp = (SELECT max(rev_timestamp) FROM revision AS 
r WHERE rev_page = page_id)";
$result4 = mysql_query($query4);
-
+   
if (!$result4) die ("Database access failed: " . 
mysql_error());
-
+   
$rows4 = mysql_num_rows($result4);
-
+   
for ($k = 0; $k < $rows4; ++$k)
{
$rowD = mysql_fetch_row($result4);
@@ -125,6 +125,8 @@
 
 
 
-This tool was originally written by https://meta.wikimedia.org/wiki/User:Rschen7754;>Rschen7754. 
Acknowledgements to http://tools.wmflabs.org/erwin85/;>erwin85 for 
the original tool and many of the queries, and to http://tools.wmflabs.org/pathoschild-contrib/;>Pathoschild for 
creating the extensive suite of tools that were used as an example. Mantained 
by the stewardbots project.
+Acknowledgements to http://tools.wmflabs.org/erwin85/;>erwin85 
for the 
+original tool and many of the queries, and to http://tools.wmflabs.org/pathoschild-contrib/;>Pathoschild 
+for creating the extensive suite of tools that I used as an example.
 
 
\ No newline at end of file

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: 

[MediaWiki-commits] [Gerrit] fixing doc path for sulwatcher - change (labs...stewardbots)

2016-03-02 Thread Matanya (Code Review)
Matanya has submitted this change and it was merged.

Change subject: fixing doc path for sulwatcher
..


fixing doc path for sulwatcher

Change-Id: Icfb488164b1e9bebfafa78b46b01e9237fddf665
---
M index.html
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Matanya: Verified; Looks good to me, approved



diff --git a/index.html b/index.html
index 628388d..0a347a5 100644
--- a/index.html
+++ b/index.html
@@ -56,7 +56,7 @@
 
 
 SULWatcher
+href="/SULWatcher/SULWatcher.html">SULWatcher
 StewardBot
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Icfb488164b1e9bebfafa78b46b01e9237fddf665
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/stewardbots
Gerrit-Branch: master
Gerrit-Owner: Matanya 
Gerrit-Reviewer: Matanya 

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


[MediaWiki-commits] [Gerrit] fixing doc path for sulwatcher - change (labs...stewardbots)

2016-03-02 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: fixing doc path for sulwatcher
..

fixing doc path for sulwatcher

Change-Id: Icfb488164b1e9bebfafa78b46b01e9237fddf665
---
M index.html
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/stewardbots 
refs/changes/80/274580/1

diff --git a/index.html b/index.html
index 628388d..0a347a5 100644
--- a/index.html
+++ b/index.html
@@ -56,7 +56,7 @@
 
 
 SULWatcher
+href="/SULWatcher/SULWatcher.html">SULWatcher
 StewardBot
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icfb488164b1e9bebfafa78b46b01e9237fddf665
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/stewardbots
Gerrit-Branch: master
Gerrit-Owner: Matanya 

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


[MediaWiki-commits] [Gerrit] add sulwatcher doc - change (labs...stewardbots)

2016-03-02 Thread Matanya (Code Review)
Matanya has submitted this change and it was merged.

Change subject: add sulwatcher doc
..


add sulwatcher doc

Change-Id: I86e6f713a72a1a3bc155d7929ed676c72f74d67f
---
A SULWatcher/SULWatcher.html
1 file changed, 167 insertions(+), 0 deletions(-)

Approvals:
  Matanya: Verified; Looks good to me, approved



diff --git a/SULWatcher/SULWatcher.html b/SULWatcher/SULWatcher.html
new file mode 100644
index 000..f19e310
--- /dev/null
+++ b/SULWatcher/SULWatcher.html
@@ -0,0 +1,167 @@
+SULWatcher
+==
+
+**SULWatcher** notifies 
+[`#cvn-unifications`](irc://irc.freenode.net/cvn-unifications) of 
+[account unifications](http://meta.wikimedia.org/wiki/Help:Unified_login).
+
+Commands
+
+
+You need to be voiced in IRC to be able to use these commands. Note that 
+the commands start with the bot's nickname, whatever it is, plus a 
+colon. Normally the bot runs using two nicks (SULWatcher and WatcherSUL) 
+- issuing a command to either one has the same effect. `SULWatcher:` is 
+used for these examples.
+
+
+
+ Command  Description  Example
+
+
+ SULWatcher:test  Test if the bot is alive 
+SULWatcher:test
+
+
+
+
+SULWatcher:test[string]regex[regex]
+Test the regex against the string 
+SULWatcher:testgrawpregex\bpoop\b
+
+
+
+ SULWatcher:findregex[regex]  Find
+information on a given regex 
+SULWatcher:findregex\bpoop\b
+
+
+
+ SULWatcher:findmatch[string]  Find the
+regex which matches the provided string 
+SULWatcher:findmatch\bpoop\b
+
+
+
+ SULWatcher:findadder[cloak]  Find the
+regexes attributed to a given cloak 
+SULWatcher:findadderwikimedia/mikelifeguard
+
+
+ SULWatcher:findnumber[#]  Find
+information on a given entry  SULWatcher:findnumber3
+
+
+
+ SULWatcher:addreason[#][reason]
+ Add a reason for a certain entry if it is attributed to you
+SULWatcher:addreason1suspicious-matchespatternvandalism
+
+
+
+
+SULWatcher:addreason[#]![reason]
+ Re-attribute the entry to you with a given reason 
+SULWatcher:addreason1!Iwanttotakecreditforsomeoneelse'swork
+
+
+
+
+SULWatcher:(addremovelist)badword[regex]
+ Add/remove/list regexes to match against unifications 
+SULWatcher:addbadword\bpoop\bSULWatcher:listbadword
+
+
+
+
+SULWatcher:(addremovelist)whitelist[username]
+ Add/remove/list users who are whitelisted 
+SULWatcher:addwhitelistMike.lifeguardSULWatcher:listwhitelist
+
+
+
+ SULWatcher:edit[#]enable  Re-enable
+an existing regex  SULWatcher:edit2enable
+
+
+
+
+SULWatcher:edit[#](regexreason)[whatever]
+ Change the regex/reason for an entry, if it is attributed to you
+ SULWatcher:edit2regex\bpoop\b
+
+
+
+
+SULWatcher:edit[#](regexreason)![whatever]
+ Change the regex/reason for an entry, re-attributing it to
+you
+SULWatcher:edit2reason!Addedwordboundariesforfewerfalsepositives
+
+
+
+
+SULWatcher:edit[#]case(truefalse)
+ Make an entry either case sensitive or insensitive
+SULWatcher:edit2casetrue
+
+
+
+ For list commands, don't provide a
+(regexcloaknickusername).
+
+
+ The following commands are restricted to opped
+users.
+
+
+
+ Restricted command  Description  Example
+
+
+ SULWatcher:restart  Restart the bots
+SULWatcher:restart
+
+
+
+ SULWatcher:restartrc  Restart the http://meta.wikimedia.org/wiki/Help:Recent_changes;>RC reader
+ SULWatcher:restartrc
+
+
+ SULWatcher:die  Kill all the bots 
+SULWatcher:die*
+
+
+
+ *Note that the bot
+uses https://wiki.toolserver.org/view/Cron;>cron and https://wiki.toolserver.org/view/Phoenix;>phoenix to stay up - if you
+kill it, it will come back in about
+10 minutes. Use this for a hard restart in case the soft restart above
+fails.
+
+
+
+Reports
+---
+
+[Reports](/~stewardbots/SULWatcher/index.php) of SULWatcher's regexes 
+and matches are available for privileged users.
+
+Regex help
+--
+
+If you don't know [regex](http://en.wikipedia.org/wiki/Regex), you can 
+simply enter strings with nothing fancy, and that will work pretty well. 
+Although the bot isn't a wiki, people can still edit - ask for help, or 
+someone will come along behind you and make your rule better by using 
+fancier regex. If you're inclined to learn, here are some starting 
+points:
+
+* 
+* 
+* 
+

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I86e6f713a72a1a3bc155d7929ed676c72f74d67f
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/stewardbots
Gerrit-Branch: master
Gerrit-Owner: Matanya 
Gerrit-Reviewer: Matanya 

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


[MediaWiki-commits] [Gerrit] add sulwatcher doc - change (labs...stewardbots)

2016-03-02 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: add sulwatcher doc
..

add sulwatcher doc

Change-Id: I86e6f713a72a1a3bc155d7929ed676c72f74d67f
---
A SULWatcher/SULWatcher.html
1 file changed, 167 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/stewardbots 
refs/changes/76/274576/1

diff --git a/SULWatcher/SULWatcher.html b/SULWatcher/SULWatcher.html
new file mode 100644
index 000..f19e310
--- /dev/null
+++ b/SULWatcher/SULWatcher.html
@@ -0,0 +1,167 @@
+SULWatcher
+==
+
+**SULWatcher** notifies 
+[`#cvn-unifications`](irc://irc.freenode.net/cvn-unifications) of 
+[account unifications](http://meta.wikimedia.org/wiki/Help:Unified_login).
+
+Commands
+
+
+You need to be voiced in IRC to be able to use these commands. Note that 
+the commands start with the bot's nickname, whatever it is, plus a 
+colon. Normally the bot runs using two nicks (SULWatcher and WatcherSUL) 
+- issuing a command to either one has the same effect. `SULWatcher:` is 
+used for these examples.
+
+
+
+ Command  Description  Example
+
+
+ SULWatcher:test  Test if the bot is alive 
+SULWatcher:test
+
+
+
+
+SULWatcher:test[string]regex[regex]
+Test the regex against the string 
+SULWatcher:testgrawpregex\bpoop\b
+
+
+
+ SULWatcher:findregex[regex]  Find
+information on a given regex 
+SULWatcher:findregex\bpoop\b
+
+
+
+ SULWatcher:findmatch[string]  Find the
+regex which matches the provided string 
+SULWatcher:findmatch\bpoop\b
+
+
+
+ SULWatcher:findadder[cloak]  Find the
+regexes attributed to a given cloak 
+SULWatcher:findadderwikimedia/mikelifeguard
+
+
+ SULWatcher:findnumber[#]  Find
+information on a given entry  SULWatcher:findnumber3
+
+
+
+ SULWatcher:addreason[#][reason]
+ Add a reason for a certain entry if it is attributed to you
+SULWatcher:addreason1suspicious-matchespatternvandalism
+
+
+
+
+SULWatcher:addreason[#]![reason]
+ Re-attribute the entry to you with a given reason 
+SULWatcher:addreason1!Iwanttotakecreditforsomeoneelse'swork
+
+
+
+
+SULWatcher:(addremovelist)badword[regex]
+ Add/remove/list regexes to match against unifications 
+SULWatcher:addbadword\bpoop\bSULWatcher:listbadword
+
+
+
+
+SULWatcher:(addremovelist)whitelist[username]
+ Add/remove/list users who are whitelisted 
+SULWatcher:addwhitelistMike.lifeguardSULWatcher:listwhitelist
+
+
+
+ SULWatcher:edit[#]enable  Re-enable
+an existing regex  SULWatcher:edit2enable
+
+
+
+
+SULWatcher:edit[#](regexreason)[whatever]
+ Change the regex/reason for an entry, if it is attributed to you
+ SULWatcher:edit2regex\bpoop\b
+
+
+
+
+SULWatcher:edit[#](regexreason)![whatever]
+ Change the regex/reason for an entry, re-attributing it to
+you
+SULWatcher:edit2reason!Addedwordboundariesforfewerfalsepositives
+
+
+
+
+SULWatcher:edit[#]case(truefalse)
+ Make an entry either case sensitive or insensitive
+SULWatcher:edit2casetrue
+
+
+
+ For list commands, don't provide a
+(regexcloaknickusername).
+
+
+ The following commands are restricted to opped
+users.
+
+
+
+ Restricted command  Description  Example
+
+
+ SULWatcher:restart  Restart the bots
+SULWatcher:restart
+
+
+
+ SULWatcher:restartrc  Restart the http://meta.wikimedia.org/wiki/Help:Recent_changes;>RC reader
+ SULWatcher:restartrc
+
+
+ SULWatcher:die  Kill all the bots 
+SULWatcher:die*
+
+
+
+ *Note that the bot
+uses https://wiki.toolserver.org/view/Cron;>cron and https://wiki.toolserver.org/view/Phoenix;>phoenix to stay up - if you
+kill it, it will come back in about
+10 minutes. Use this for a hard restart in case the soft restart above
+fails.
+
+
+
+Reports
+---
+
+[Reports](/~stewardbots/SULWatcher/index.php) of SULWatcher's regexes 
+and matches are available for privileged users.
+
+Regex help
+--
+
+If you don't know [regex](http://en.wikipedia.org/wiki/Regex), you can 
+simply enter strings with nothing fancy, and that will work pretty well. 
+Although the bot isn't a wiki, people can still edit - ask for help, or 
+someone will come along behind you and make your rule better by using 
+fancier regex. If you're inclined to learn, here are some starting 
+points:
+
+* 
+* 
+* 
+

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I86e6f713a72a1a3bc155d7929ed676c72f74d67f
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/stewardbots
Gerrit-Branch: master
Gerrit-Owner: Matanya 

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


[MediaWiki-commits] [Gerrit] move index.html to dic root - change (labs...stewardbots)

2016-03-02 Thread Matanya (Code Review)
Matanya has submitted this change and it was merged.

Change subject: move index.html to dic root
..


move index.html to dic root

Change-Id: If3f34e64751490eadce4169b37f42f59fdbcd0de
---
R index.html
1 file changed, 0 insertions(+), 0 deletions(-)

Approvals:
  Matanya: Verified; Looks good to me, approved



diff --git a/site/index.html b/index.html
similarity index 100%
rename from site/index.html
rename to index.html

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

Gerrit-MessageType: merged
Gerrit-Change-Id: If3f34e64751490eadce4169b37f42f59fdbcd0de
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/stewardbots
Gerrit-Branch: master
Gerrit-Owner: Matanya 
Gerrit-Reviewer: Matanya 

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


[MediaWiki-commits] [Gerrit] move index.html to dic root - change (labs...stewardbots)

2016-03-02 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: move index.html to dic root
..

move index.html to dic root

Change-Id: If3f34e64751490eadce4169b37f42f59fdbcd0de
---
R index.html
1 file changed, 0 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/stewardbots 
refs/changes/75/274575/1

diff --git a/site/index.html b/index.html
similarity index 100%
rename from site/index.html
rename to index.html

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If3f34e64751490eadce4169b37f42f59fdbcd0de
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/stewardbots
Gerrit-Branch: master
Gerrit-Owner: Matanya 

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


[MediaWiki-commits] [Gerrit] add stewardbots doc - change (labs...stewardbots)

2016-03-02 Thread Matanya (Code Review)
Matanya has submitted this change and it was merged.

Change subject: add stewardbots doc
..


add stewardbots doc

Change-Id: I830b2eaa9a76f80312e329b87842cb3f3598328c
---
A site/stewardbots.html
1 file changed, 393 insertions(+), 0 deletions(-)

Approvals:
  Matanya: Verified; Looks good to me, approved



diff --git a/site/stewardbots.html b/site/stewardbots.html
new file mode 100644
index 000..eb4c393
--- /dev/null
+++ b/site/stewardbots.html
@@ -0,0 +1,393 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;>
+http://www.w3.org/1999/xhtml; lang="en" xml:lang="en">
+
+
+
+StewardBot
+
+http://meta.wikimedia.org/skins-1.5/common/shared.css?165; 
type="text/css"
+media="screen" />
+
+/*http://meta.wikimedia.org/skins-1.5/monobook/main.css?5";;
+body {
+font-size: 8pt;
+}
+div.header {
+margin: 15px 15px 15px 150px;
+border: #7B68EE solid 1px;
+background-color: #FF;
+font-family: Trebuchet MS, Tahoma, Arial;
+padding: 1px;
+}
+div.content {
+padding: 0px 15px 0px 15px;
+border: #CC solid 1px;
+background-color: #FF;
+margin: 20px 0px 0px 150px;
+}
+/*]]>*/
+
+http://meta.wikimedia.org/w/index.php?title=MediaWiki:Common.cssusemsgcache=yesctype=text%2Fcsssmaxage=2678400action=rawmaxage=2678400ts=20080818041814;
+type="text/css" />
+http://meta.wikimedia.org/w/index.php?title=MediaWiki:Monobook.cssusemsgcache=yesctype=text%2Fcsssmaxage=2678400action=rawmaxage=2678400ts=20080818041814;
+type="text/css" media="screen" />
+
+/*http://upload.wikimedia.org/wikipedia/commons/thumb/b/be/Wikimedia_Community_Logo-Toolserver.svg/130px-Wikimedia_Community_Logo-Toolserver.svg.png);}
+ th.c1 {background-color:black;color:white}
+/*]]>*/
+
+
+
+
+
+
+
+StewardBot - Help
+StewardBot (http://en.wiktionary.org/wiki/AKA;
+class="extiw" title="wikt:AKA">aka Stewie) is nice little bot who
+spends his life in #wikimedia-stewards. He makes life easier for the
+stewards and everyone else; he is a good bot!
+
+Commands
+
+
+Command
+Description
+Notes/Example
+
+
+!steward
+Pings all of the stewards (emergency)
+
+
+
+@steward
+Pings a group of stewards who have opted-in (non-emergency)
+kibble@steward Az has gone rouge!
+StewardBotStewards: Attention requested by kibble ( DerHexer Dungodung
+)
+
+
+@quiet
+Makes Stewie be quiet and not speak. :'(
+dungodung@quiet
+StewardBotI'll be quiet :(
+
+
+@speak
+Makes Stewie talk again.
+dungodung@speak
+StewardBotBack in action :)
+
+
+@mlock
+Make Stewie be quiet for 10 seconds.
+dungodung@mlock
+StewardBotYou have 10 seconds!
+
+
+@notify on
+Turns notification (!steward) on
+StewardBotNotification on
+
+
+@notify off
+Turns notification (!steward) off
+StewardBotNotification off
+
+
+@stew
+@privileged
+@ignored
+@stalked
+@listen
+Advanced settings
+See the section below for more
+information.
+
+
+@help
+Displays a link to this help page
+kibble@help
+StewardBotHelp = https://tools.wmflabs.org/stewardbots/stewardbot.html
+
+
+@huggle
+The huggle command. :D
+
+
+
+@test
+Tests the rc reader and posts what was last received on
+irc.wikimedia.org
+
+
+
+@die
+Quits the bot (http://meta.wikimedia.org/wiki/User:Dungodung;
+title="User:Dungodung">owner-only)
+dungodung @die
+* StewardBot has left irc.freenode.net ("Goodbye!")
+
+
+
+
+Advanced settings
+
+
+Command
+Subcommand
+Parameters
+Description
+Notes/Example
+
+
+stew
+add
+username [nick [cloak [opt-in]]]
+Adds a new steward defined by username and optional parameters: nickname,
+cloak and boolean 
opt-in
+information; special value "-" can be used for the cloak
+parameter if the user has no cloak
+dungodung@stew add Cbrown1023 kibble wikimedia/Cbrown1023 true
+
+
+removedelete
+username
+Removes a steward (and all related info) by username
+dungodung@stew remove Cbrown1023
+
+
+changeeditmodifyrename
+username [username [nick [cloak
+[opt-in
+Changes the username, nick, cloak and/or opt-in information of a steward;
+special value "-" can be used for all but the first parameter
+dungodung@stew change Cbrown1023 - worby - 0
+
+
+users
+
+Lists all stewards by username
+dungodung@stew users
+
+
+nicks
+
+Lists all stewards by nicknames
+dungodung@stew nicks
+
+
+optin
+
+Lists all stewards who have opted-in for @steward notification by

[MediaWiki-commits] [Gerrit] add stewardbots doc - change (labs...stewardbots)

2016-03-02 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: add stewardbots doc
..

add stewardbots doc

Change-Id: I830b2eaa9a76f80312e329b87842cb3f3598328c
---
A site/stewardbots.html
1 file changed, 393 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/stewardbots 
refs/changes/74/274574/1

diff --git a/site/stewardbots.html b/site/stewardbots.html
new file mode 100644
index 000..eb4c393
--- /dev/null
+++ b/site/stewardbots.html
@@ -0,0 +1,393 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;>
+http://www.w3.org/1999/xhtml; lang="en" xml:lang="en">
+
+
+
+StewardBot
+
+http://meta.wikimedia.org/skins-1.5/common/shared.css?165; 
type="text/css"
+media="screen" />
+
+/*http://meta.wikimedia.org/skins-1.5/monobook/main.css?5";;
+body {
+font-size: 8pt;
+}
+div.header {
+margin: 15px 15px 15px 150px;
+border: #7B68EE solid 1px;
+background-color: #FF;
+font-family: Trebuchet MS, Tahoma, Arial;
+padding: 1px;
+}
+div.content {
+padding: 0px 15px 0px 15px;
+border: #CC solid 1px;
+background-color: #FF;
+margin: 20px 0px 0px 150px;
+}
+/*]]>*/
+
+http://meta.wikimedia.org/w/index.php?title=MediaWiki:Common.cssusemsgcache=yesctype=text%2Fcsssmaxage=2678400action=rawmaxage=2678400ts=20080818041814;
+type="text/css" />
+http://meta.wikimedia.org/w/index.php?title=MediaWiki:Monobook.cssusemsgcache=yesctype=text%2Fcsssmaxage=2678400action=rawmaxage=2678400ts=20080818041814;
+type="text/css" media="screen" />
+
+/*http://upload.wikimedia.org/wikipedia/commons/thumb/b/be/Wikimedia_Community_Logo-Toolserver.svg/130px-Wikimedia_Community_Logo-Toolserver.svg.png);}
+ th.c1 {background-color:black;color:white}
+/*]]>*/
+
+
+
+
+
+
+
+StewardBot - Help
+StewardBot (http://en.wiktionary.org/wiki/AKA;
+class="extiw" title="wikt:AKA">aka Stewie) is nice little bot who
+spends his life in #wikimedia-stewards. He makes life easier for the
+stewards and everyone else; he is a good bot!
+
+Commands
+
+
+Command
+Description
+Notes/Example
+
+
+!steward
+Pings all of the stewards (emergency)
+
+
+
+@steward
+Pings a group of stewards who have opted-in (non-emergency)
+kibble@steward Az has gone rouge!
+StewardBotStewards: Attention requested by kibble ( DerHexer Dungodung
+)
+
+
+@quiet
+Makes Stewie be quiet and not speak. :'(
+dungodung@quiet
+StewardBotI'll be quiet :(
+
+
+@speak
+Makes Stewie talk again.
+dungodung@speak
+StewardBotBack in action :)
+
+
+@mlock
+Make Stewie be quiet for 10 seconds.
+dungodung@mlock
+StewardBotYou have 10 seconds!
+
+
+@notify on
+Turns notification (!steward) on
+StewardBotNotification on
+
+
+@notify off
+Turns notification (!steward) off
+StewardBotNotification off
+
+
+@stew
+@privileged
+@ignored
+@stalked
+@listen
+Advanced settings
+See the section below for more
+information.
+
+
+@help
+Displays a link to this help page
+kibble@help
+StewardBotHelp = https://tools.wmflabs.org/stewardbots/stewardbot.html
+
+
+@huggle
+The huggle command. :D
+
+
+
+@test
+Tests the rc reader and posts what was last received on
+irc.wikimedia.org
+
+
+
+@die
+Quits the bot (http://meta.wikimedia.org/wiki/User:Dungodung;
+title="User:Dungodung">owner-only)
+dungodung @die
+* StewardBot has left irc.freenode.net ("Goodbye!")
+
+
+
+
+Advanced settings
+
+
+Command
+Subcommand
+Parameters
+Description
+Notes/Example
+
+
+stew
+add
+username [nick [cloak [opt-in]]]
+Adds a new steward defined by username and optional parameters: nickname,
+cloak and boolean 
opt-in
+information; special value "-" can be used for the cloak
+parameter if the user has no cloak
+dungodung@stew add Cbrown1023 kibble wikimedia/Cbrown1023 true
+
+
+removedelete
+username
+Removes a steward (and all related info) by username
+dungodung@stew remove Cbrown1023
+
+
+changeeditmodifyrename
+username [username [nick [cloak
+[opt-in
+Changes the username, nick, cloak and/or opt-in information of a steward;
+special value "-" can be used for all but the first parameter
+dungodung@stew change Cbrown1023 - worby - 0
+
+
+users
+
+Lists all stewards by username
+dungodung@stew users
+
+
+nicks
+
+Lists all stewards by nicknames
+dungodung@stew nicks
+
+
+optin
+

[MediaWiki-commits] [Gerrit] adding election.php - change (labs...stewardbots)

2016-03-02 Thread Matanya (Code Review)
Matanya has submitted this change and it was merged.

Change subject: adding election.php
..


adding election.php

Change-Id: I44c73eca3aaff480873cc891552ac1586bfed619
---
A site/elections.php
1 file changed, 277 insertions(+), 0 deletions(-)

Approvals:
  Matanya: Verified; Looks good to me, approved



diff --git a/site/elections.php b/site/elections.php
new file mode 100644
index 000..7b5fbcd
--- /dev/null
+++ b/site/elections.php
@@ -0,0 +1,277 @@
+https://meta.wikimedia.org/w/api.php?action=query=php=revisions=content=';
+
+if (is_array($titles)) {
+foreach ($titles as $t) {
+$URL .= urlencode($t) . '|';
+}
+$URL = rtrim($URL, '|');
+} else {
+$URL .= urlencode($titles);
+}
+echo '';
+
+$ch = curl_init($URL);
+curl_setopt($ch, CURLOPT_RETURNTRANSFER, True);
+curl_setopt($ch, CURLOPT_USERAGENT, 'Labs Bot -
+https://tools.wmflabs.org/stewardbots');
+$result = unserialize(curl_exec($ch));
+curl_close($ch);
+
+$output = array();
+if ($result['query']['pages']) {
+foreach($result['query']['pages'] as $page) {
+$output[] = array('title' => $page['title'],
+  'content' => $page['revisions'][0]['*']);
+}
+
+return $output;
+} else {
+return False;
+}
+}
+
+// To sort the array returned by getPages()
+function titleSort($a , $b) {
+return strnatcasecmp($a['title'], $b['title']);
+}
+
+// Page content
+$cacheFile = './cache/elections.php';
+?>
+http://www.w3.org/TR/html4/loose.dtd;>
+http://www.w3.org/1999/xhtml; xml:lang="en" lang="en" dir="ltr">
+
+Steward elections 2016
+
+
+
+
+
+
+
+jQuery(document).ready(function() { 
+   jQuery('table.sortable').tablesorter();
+} );
+
+
+
+
+   
+Steward elections
+This page contains an unofficial tally of the votes in the steward elections
+2016.
+ 60)
+|| $_GET['adm']) {
+$useCache = False;
+}
+} else {
+$useCache = False;
+}
+
+if ( $useCache ) {
+echo 'Using cached data from ' .
+strftime('%H:%M, %e %B %Y', filemtime($cacheFile)) . ' (UTC), purge.';
+
+// User tried to purge, but we decided to use the cache anyway.
+if ($_GET['action'] == 'purge') {
+ echo 'Note: data can only be purged once
+every minute. Please be patient.';
+}
+
+include_once $cacheFile;
+} else {
+// Start output buffering to regenerate chache
+ob_start();
+?>
+
+   
+
+#
+Candidate
+Yes
+No
+Neutral
+Support
+
+
+
+[^\\|\\}]+)(?:\\|(?[^\\|\\}]+))?\\}\\}/m',
+$content, $m);
+preg_match_all('/^\{\{[Ss]e[_ ]candidate[_
+]indexer\|2016\|(?[^\|\}]+)(?:\|(?[^\|\}]+))?\}\}/m', $content,
+$m);
+
+// Loop users
+$titles = array();
+$count = count($m['user']);
+for($i = 0; $i < $count; $i++) {
+$user = $m['user'][$i];
+$status = $m['status'][$i];
+if(!$status || $status == 'yes')
+$titles[] = 'Stewards/Elections_2016/Votes/' . $user;
+}
+natcasesort($titles);
+
+$titles = array_chunk($titles, 40);
+$i = 1;
+foreach($titles as $tchunk) {
+$pages = getPages($tchunk);
+usort($pages, 'titleSort');
+
+// Treat pages
+foreach($pages as $page) {
+$title = $page['title'];
+$user = substr($title, 30);
+$content = $page['content'];
+
+if(!empty($content)) {
+// Find vote headers
+$offset = array();
+preg_match('/\=\=\=[ ]*?\{\{sr-heading\|yes\}\}[ ]*?\=\=\=/',
+$content, $m, PREG_OFFSET_CAPTURE);
+$offset['yes'] = $m[0][1];
+preg_match('/\=\=\=[ ]*?\{\{sr-heading\|no\}\}[ ]*?\=\=\=/',
+$content, $m, PREG_OFFSET_CAPTURE);
+$offset['no'] = $m[0][1];
+preg_match('/\=\=\=[ ]*?\{\{sr-heading\|neutral\}\}[
+]*?\=\=\=/', $content, $m, PREG_OFFSET_CAPTURE);
+$offset['neutral'] = $m[0][1];
+
+// Find votes
+$vote = '/^\#[^\:\#].+?$/m';
+$votes = array();
+$votes['yes'] = preg_match_all($vote, substr($content,
+$offset['yes'], $offset['no'] - $offset['yes']), $m);
+$votes['no'] = preg_match_all($vote, substr($content,
+$offset['no'], $offset['neutral'] - $offset['no']), $m);
+$votes['neutral'] = preg_match_all($vote, substr($content,
+$offset['neutral']), $m);
+
+// Math
+$support = $votes['yes'] / ($votes['yes'] + $votes['no']);
+$perc = round($support * 100, 1);
+   

[MediaWiki-commits] [Gerrit] adding election.php - change (labs...stewardbots)

2016-03-02 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: adding election.php
..

adding election.php

Change-Id: I44c73eca3aaff480873cc891552ac1586bfed619
---
A site/elections.php
1 file changed, 277 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/stewardbots 
refs/changes/73/274573/1

diff --git a/site/elections.php b/site/elections.php
new file mode 100644
index 000..7b5fbcd
--- /dev/null
+++ b/site/elections.php
@@ -0,0 +1,277 @@
+https://meta.wikimedia.org/w/api.php?action=query=php=revisions=content=';
+
+if (is_array($titles)) {
+foreach ($titles as $t) {
+$URL .= urlencode($t) . '|';
+}
+$URL = rtrim($URL, '|');
+} else {
+$URL .= urlencode($titles);
+}
+echo '';
+
+$ch = curl_init($URL);
+curl_setopt($ch, CURLOPT_RETURNTRANSFER, True);
+curl_setopt($ch, CURLOPT_USERAGENT, 'Labs Bot -
+https://tools.wmflabs.org/stewardbots');
+$result = unserialize(curl_exec($ch));
+curl_close($ch);
+
+$output = array();
+if ($result['query']['pages']) {
+foreach($result['query']['pages'] as $page) {
+$output[] = array('title' => $page['title'],
+  'content' => $page['revisions'][0]['*']);
+}
+
+return $output;
+} else {
+return False;
+}
+}
+
+// To sort the array returned by getPages()
+function titleSort($a , $b) {
+return strnatcasecmp($a['title'], $b['title']);
+}
+
+// Page content
+$cacheFile = './cache/elections.php';
+?>
+http://www.w3.org/TR/html4/loose.dtd;>
+http://www.w3.org/1999/xhtml; xml:lang="en" lang="en" dir="ltr">
+
+Steward elections 2016
+
+
+
+
+
+
+
+jQuery(document).ready(function() { 
+   jQuery('table.sortable').tablesorter();
+} );
+
+
+
+
+   
+Steward elections
+This page contains an unofficial tally of the votes in the steward elections
+2016.
+ 60)
+|| $_GET['adm']) {
+$useCache = False;
+}
+} else {
+$useCache = False;
+}
+
+if ( $useCache ) {
+echo 'Using cached data from ' .
+strftime('%H:%M, %e %B %Y', filemtime($cacheFile)) . ' (UTC), purge.';
+
+// User tried to purge, but we decided to use the cache anyway.
+if ($_GET['action'] == 'purge') {
+ echo 'Note: data can only be purged once
+every minute. Please be patient.';
+}
+
+include_once $cacheFile;
+} else {
+// Start output buffering to regenerate chache
+ob_start();
+?>
+
+   
+
+#
+Candidate
+Yes
+No
+Neutral
+Support
+
+
+
+[^\\|\\}]+)(?:\\|(?[^\\|\\}]+))?\\}\\}/m',
+$content, $m);
+preg_match_all('/^\{\{[Ss]e[_ ]candidate[_
+]indexer\|2016\|(?[^\|\}]+)(?:\|(?[^\|\}]+))?\}\}/m', $content,
+$m);
+
+// Loop users
+$titles = array();
+$count = count($m['user']);
+for($i = 0; $i < $count; $i++) {
+$user = $m['user'][$i];
+$status = $m['status'][$i];
+if(!$status || $status == 'yes')
+$titles[] = 'Stewards/Elections_2016/Votes/' . $user;
+}
+natcasesort($titles);
+
+$titles = array_chunk($titles, 40);
+$i = 1;
+foreach($titles as $tchunk) {
+$pages = getPages($tchunk);
+usort($pages, 'titleSort');
+
+// Treat pages
+foreach($pages as $page) {
+$title = $page['title'];
+$user = substr($title, 30);
+$content = $page['content'];
+
+if(!empty($content)) {
+// Find vote headers
+$offset = array();
+preg_match('/\=\=\=[ ]*?\{\{sr-heading\|yes\}\}[ ]*?\=\=\=/',
+$content, $m, PREG_OFFSET_CAPTURE);
+$offset['yes'] = $m[0][1];
+preg_match('/\=\=\=[ ]*?\{\{sr-heading\|no\}\}[ ]*?\=\=\=/',
+$content, $m, PREG_OFFSET_CAPTURE);
+$offset['no'] = $m[0][1];
+preg_match('/\=\=\=[ ]*?\{\{sr-heading\|neutral\}\}[
+]*?\=\=\=/', $content, $m, PREG_OFFSET_CAPTURE);
+$offset['neutral'] = $m[0][1];
+
+// Find votes
+$vote = '/^\#[^\:\#].+?$/m';
+$votes = array();
+$votes['yes'] = preg_match_all($vote, substr($content,
+$offset['yes'], $offset['no'] - $offset['yes']), $m);
+$votes['no'] = preg_match_all($vote, substr($content,
+$offset['no'], $offset['neutral'] - $offset['no']), $m);
+$votes['neutral'] = preg_match_all($vote, substr($content,
+$offset['neutral']), $m);
+
+// Math
+$support = $votes['yes'] / ($votes['yes'] + 

[MediaWiki-commits] [Gerrit] fix link - change (labs...stewardbots)

2016-02-25 Thread Matanya (Code Review)
Matanya has submitted this change and it was merged.

Change subject: fix link
..


fix link

Change-Id: I83c63c00979d11516d421e12439364a3a4a31d9a
---
M site/index.html
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Matanya: Verified; Looks good to me, approved



diff --git a/site/index.html b/site/index.html
index f0f3ad0..628388d 100644
--- a/site/index.html
+++ b/site/index.html
@@ -56,9 +56,9 @@
 
 
 SULWatcher
+href="/stewardbots/SULWatcher.html">SULWatcher
 StewardBot
+href="/stewardbots/stewardbot.html">StewardBot
 
 
 Tools:

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I83c63c00979d11516d421e12439364a3a4a31d9a
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/stewardbots
Gerrit-Branch: master
Gerrit-Owner: Matanya 
Gerrit-Reviewer: Matanya 

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


[MediaWiki-commits] [Gerrit] fix link - change (labs...stewardbots)

2016-02-25 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: fix link
..

fix link

Change-Id: I83c63c00979d11516d421e12439364a3a4a31d9a
---
M site/index.html
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/stewardbots 
refs/changes/97/273297/1

diff --git a/site/index.html b/site/index.html
index f0f3ad0..628388d 100644
--- a/site/index.html
+++ b/site/index.html
@@ -56,9 +56,9 @@
 
 
 SULWatcher
+href="/stewardbots/SULWatcher.html">SULWatcher
 StewardBot
+href="/stewardbots/stewardbot.html">StewardBot
 
 
 Tools:

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I83c63c00979d11516d421e12439364a3a4a31d9a
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/stewardbots
Gerrit-Branch: master
Gerrit-Owner: Matanya 

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


[MediaWiki-commits] [Gerrit] no toolserver email - change (labs...stewardbots)

2016-02-25 Thread Matanya (Code Review)
Matanya has submitted this change and it was merged.

Change subject: no toolserver email
..


no toolserver email

Change-Id: Ia764d72a6bcc06f11f36190917fe097a282d49a4
---
M site/index.html
1 file changed, 1 insertion(+), 2 deletions(-)

Approvals:
  Matanya: Verified; Looks good to me, approved



diff --git a/site/index.html b/site/index.html
index 4787393..f0f3ad0 100644
--- a/site/index.html
+++ b/site/index.html
@@ -49,8 +49,7 @@
 IRC memo: If someone isn't online, you can leave them a memo: /msg
 memoserv send user your memo here
 Email: We all have email enabled on-wiki; if you do too, see 
-Special:EmailUser/user. Otherwise, you can email 
-toolserver-username@toolserver.org.
+Special:EmailUser/user.
 
 
 Help pages for the bots:

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia764d72a6bcc06f11f36190917fe097a282d49a4
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/stewardbots
Gerrit-Branch: master
Gerrit-Owner: Matanya 
Gerrit-Reviewer: Matanya 

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


[MediaWiki-commits] [Gerrit] no toolserver email - change (labs...stewardbots)

2016-02-25 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: no toolserver email
..

no toolserver email

Change-Id: Ia764d72a6bcc06f11f36190917fe097a282d49a4
---
M site/index.html
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/stewardbots 
refs/changes/95/273295/1

diff --git a/site/index.html b/site/index.html
index 4787393..f0f3ad0 100644
--- a/site/index.html
+++ b/site/index.html
@@ -49,8 +49,7 @@
 IRC memo: If someone isn't online, you can leave them a memo: /msg
 memoserv send user your memo here
 Email: We all have email enabled on-wiki; if you do too, see 
-Special:EmailUser/user. Otherwise, you can email 
-toolserver-username@toolserver.org.
+Special:EmailUser/user.
 
 
 Help pages for the bots:

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia764d72a6bcc06f11f36190917fe097a282d49a4
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/stewardbots
Gerrit-Branch: master
Gerrit-Owner: Matanya 

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


[MediaWiki-commits] [Gerrit] update stewards page on tool labs - change (labs...stewardbots)

2016-02-25 Thread Matanya (Code Review)
Matanya has submitted this change and it was merged.

Change subject: update stewards page on tool labs
..


update stewards page on tool labs

Change-Id: I49487dd4481aa29c8ee2cbea38e73d253b37716a
---
M site/index.html
1 file changed, 25 insertions(+), 58 deletions(-)

Approvals:
  Matanya: Verified; Looks good to me, approved



diff --git a/site/index.html b/site/index.html
index bc72477..4787393 100644
--- a/site/index.html
+++ b/site/index.html
@@ -6,48 +6,39 @@
 
 stewardbots
 
-WARNING: This page was copied over from https://toolserver.org/~stewardbots/docs/home;>toolserver, and the
-information might not be accurate! Please see there if something is broken
-here!
-
 This is a https://wiki.toolserver.org/view/Multi-maintainer_projects;>multi-maintainer
+href="https://tools.wmflabs.org/;>multi-maintainer
 project for several IRC bots and steward tools. The users with access
 are:
 
 
+
+http://meta.wikimedia.org/wiki/User:Barras;>User:Barras
+(IRC nick Barras)
+http://meta.wikimedia.org/wiki/User:Billinghurst;>User:Billinghurst
+(IRC nick sDrewth)
 http://meta.wikimedia.org/wiki/User:DerHexer;>User:DerHexer
-(toolserver user  IRC nick derhexer)
-http://meta.wikimedia.org/wiki/User:Dungodung;>User:Dungodung
-(toolserver user  IRC nick dungodung)
-http://meta.wikimedia.org/wiki/User:Erwin;>User:Erwin
-(toolserver user erwin85; IRC nick erwin)
+(IRC nick DerHexer)
 http://meta.wikimedia.org/wiki/User:Jyothis;>User:Jyothis
-(toolserver user  IRC nick jyothis)
-http://meta.wikimedia.org/wiki/User:Kylu;>User:Kylu 
(toolserver
-user  IRC nick kylu)
-http://meta.wikimedia.org/wiki/User:Laaknor;>User:Laaknor
-(toolserver user  IRC nick laaknor)
+(IRC nick Jyothis)
+http://meta.wikimedia.org/wiki/User:Linedwell;>User:Linedwell
+(IRC nick Linedwell)
+http://meta.wikimedia.org/wiki/User:M7;>User:M7 
+(IRC nick m7)
 http://meta.wikimedia.org/wiki/User:Matanya;>User:Matanya
-(toolserver user  IRC nick matanya)
+(IRC nick matanya)
 http://meta.wikimedia.org/wiki/User:Melos;>User:Melos
-(toolserver user  IRC nick melos)
+(IRC nick melos)
 http://meta.wikimedia.org/wiki/User:MF-Warburg;>User:MF-Warburg
-(toolserver user mfw; IRC nick MF-Warburg)
-http://meta.wikimedia.org/wiki/User:Mike.lifeguard;>User:Mike.lifeguard
-(toolserver user lifeguard; IRC nick
-Mike_lifeguard)
-http://meta.wikimedia.org/wiki/User:Pathoschild;>User:Pathoschild
-(toolserver user  IRC nick pathoschild)
+(IRC nick MF-Warburg)
+http://meta.wikimedia.org/wiki/User:Pathoschild;>User:Pathoschild
+(IRC nick pathoschild)
 http://meta.wikimedia.org/wiki/User:Quentinv57;>User:Quentinv57
-(toolserver user  IRC nick quentinv57)
+(IRC nick quentinv57)
 http://meta.wikimedia.org/wiki/User:Snowolf;>User:Snowolf
-(toolserver user snowolf; IRC nick 
QueenOfFrance)
-http://meta.wikimedia.org/wiki/User:Wikitanvir;>User:Wikitanvir
-(toolserver user wikitanvir; IRC nick Tanvir)
+(IRC nick QueenOfFrance)
+http://meta.wikimedia.org/wiki/User:SPQRobin;>User:SPQRobin
+(IRC nick SPQRobin)
 
 
 :side from our Meta talk pages, you can contact any of these users by:
@@ -66,12 +57,9 @@
 
 
 SULWatcher
+href="/SULWatcher.html">SULWatcher
 StewardBot
-BLWatcher, BiblioBot,
-sourceybot, The_Hawk
-
+href="/stewardbot.html">StewardBot
 
 
 Tools:
@@ -79,33 +67,12 @@
 
 Elections: Breakdown of the 
steward
 elections.
-Requests: Overview of open steward
-requests.
 Delete: Overview of open
 speedy deletion requests.
 Projects: Overview of
 number of admins/crats/CU/OS on Wikimedia projects.
-
+https://tools.wmflabs.org/rightstool/cgi-bin/rightsstats;>User
+rights statistics: Number of users with a specific right per project.
 
-
-For members of the stewardbots project
-
-You may be looking for documentation on how to start the bots or truncate .out files.
-
-The https://wiki.toolserver.org/view/Subversion;>SVN repository
-is https://fisheye.toolserver.org/changelog/p_stewardbots;>p_stewardbots,
-and you can commit at https://svn.toolserver.org/svnroot/p_stewardbots;>https://svn.toolserver.org/svnroot/p_stewardbots.
-
-The project maintains two crontab files, mirrored here daily: linux, solaris
-
-This page was last modified Sun Apr 28 11:00:47 2013.  View
-source.
-
 
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I49487dd4481aa29c8ee2cbea38e73d253b37716a
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/stewardbots
Gerrit-Branch: master
Gerrit-Owner: Matanya 
Gerrit-Reviewer: Matanya 

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


[MediaWiki-commits] [Gerrit] update stewards page on tool labs - change (labs...stewardbots)

2016-02-25 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: update stewards page on tool labs
..

update stewards page on tool labs

Change-Id: I49487dd4481aa29c8ee2cbea38e73d253b37716a
---
M site/index.html
1 file changed, 25 insertions(+), 58 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/stewardbots 
refs/changes/94/273294/1

diff --git a/site/index.html b/site/index.html
index bc72477..4787393 100644
--- a/site/index.html
+++ b/site/index.html
@@ -6,48 +6,39 @@
 
 stewardbots
 
-WARNING: This page was copied over from https://toolserver.org/~stewardbots/docs/home;>toolserver, and the
-information might not be accurate! Please see there if something is broken
-here!
-
 This is a https://wiki.toolserver.org/view/Multi-maintainer_projects;>multi-maintainer
+href="https://tools.wmflabs.org/;>multi-maintainer
 project for several IRC bots and steward tools. The users with access
 are:
 
 
+
+http://meta.wikimedia.org/wiki/User:Barras;>User:Barras
+(IRC nick Barras)
+http://meta.wikimedia.org/wiki/User:Billinghurst;>User:Billinghurst
+(IRC nick sDrewth)
 http://meta.wikimedia.org/wiki/User:DerHexer;>User:DerHexer
-(toolserver user  IRC nick derhexer)
-http://meta.wikimedia.org/wiki/User:Dungodung;>User:Dungodung
-(toolserver user  IRC nick dungodung)
-http://meta.wikimedia.org/wiki/User:Erwin;>User:Erwin
-(toolserver user erwin85; IRC nick erwin)
+(IRC nick DerHexer)
 http://meta.wikimedia.org/wiki/User:Jyothis;>User:Jyothis
-(toolserver user  IRC nick jyothis)
-http://meta.wikimedia.org/wiki/User:Kylu;>User:Kylu 
(toolserver
-user  IRC nick kylu)
-http://meta.wikimedia.org/wiki/User:Laaknor;>User:Laaknor
-(toolserver user  IRC nick laaknor)
+(IRC nick Jyothis)
+http://meta.wikimedia.org/wiki/User:Linedwell;>User:Linedwell
+(IRC nick Linedwell)
+http://meta.wikimedia.org/wiki/User:M7;>User:M7 
+(IRC nick m7)
 http://meta.wikimedia.org/wiki/User:Matanya;>User:Matanya
-(toolserver user  IRC nick matanya)
+(IRC nick matanya)
 http://meta.wikimedia.org/wiki/User:Melos;>User:Melos
-(toolserver user  IRC nick melos)
+(IRC nick melos)
 http://meta.wikimedia.org/wiki/User:MF-Warburg;>User:MF-Warburg
-(toolserver user mfw; IRC nick MF-Warburg)
-http://meta.wikimedia.org/wiki/User:Mike.lifeguard;>User:Mike.lifeguard
-(toolserver user lifeguard; IRC nick
-Mike_lifeguard)
-http://meta.wikimedia.org/wiki/User:Pathoschild;>User:Pathoschild
-(toolserver user  IRC nick pathoschild)
+(IRC nick MF-Warburg)
+http://meta.wikimedia.org/wiki/User:Pathoschild;>User:Pathoschild
+(IRC nick pathoschild)
 http://meta.wikimedia.org/wiki/User:Quentinv57;>User:Quentinv57
-(toolserver user  IRC nick quentinv57)
+(IRC nick quentinv57)
 http://meta.wikimedia.org/wiki/User:Snowolf;>User:Snowolf
-(toolserver user snowolf; IRC nick 
QueenOfFrance)
-http://meta.wikimedia.org/wiki/User:Wikitanvir;>User:Wikitanvir
-(toolserver user wikitanvir; IRC nick Tanvir)
+(IRC nick QueenOfFrance)
+http://meta.wikimedia.org/wiki/User:SPQRobin;>User:SPQRobin
+(IRC nick SPQRobin)
 
 
 :side from our Meta talk pages, you can contact any of these users by:
@@ -66,12 +57,9 @@
 
 
 SULWatcher
+href="/SULWatcher.html">SULWatcher
 StewardBot
-BLWatcher, BiblioBot,
-sourceybot, The_Hawk
-
+href="/stewardbot.html">StewardBot
 
 
 Tools:
@@ -79,33 +67,12 @@
 
 Elections: Breakdown of the 
steward
 elections.
-Requests: Overview of open steward
-requests.
 Delete: Overview of open
 speedy deletion requests.
 Projects: Overview of
 number of admins/crats/CU/OS on Wikimedia projects.
-
+https://tools.wmflabs.org/rightstool/cgi-bin/rightsstats;>User
+rights statistics: Number of users with a specific right per project.
 
-
-For members of the stewardbots project
-
-You may be looking for documentation on how to start the bots or truncate .out files.
-
-The https://wiki.toolserver.org/view/Subversion;>SVN repository
-is https://fisheye.toolserver.org/changelog/p_stewardbots;>p_stewardbots,
-and you can commit at https://svn.toolserver.org/svnroot/p_stewardbots;>https://svn.toolserver.org/svnroot/p_stewardbots.
-
-The project maintains two crontab files, mirrored here daily: linux, solaris
-
-This page was last modified Sun Apr 28 11:00:47 2013.  View
-source.
-
 
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I49487dd4481aa29c8ee2cbea38e73d253b37716a
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/stewardbots
Gerrit-Branch: master
Gerrit-Owner: Matanya 

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


[MediaWiki-commits] [Gerrit] fix typo - change (labs...stewardbots)

2016-02-25 Thread Matanya (Code Review)
Matanya has submitted this change and it was merged.

Change subject: fix typo
..


fix typo

Change-Id: Ifd41d32c4db6cb104ee8f686c646ab4bbdd57af2
---
M README.md
1 file changed, 1 insertion(+), 2 deletions(-)

Approvals:
  Matanya: Verified; Looks good to me, approved



diff --git a/README.md b/README.md
index 28b39ee..9c850ef 100644
--- a/README.md
+++ b/README.md
@@ -29,5 +29,4 @@
 Authors
 ---
 
-Current and former stewards, see attribution in each file respectivly.
-
+Current and former stewards, see attribution in each file respectively.

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ifd41d32c4db6cb104ee8f686c646ab4bbdd57af2
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/stewardbots
Gerrit-Branch: master
Gerrit-Owner: Matanya 
Gerrit-Reviewer: Matanya 

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


[MediaWiki-commits] [Gerrit] fix typo - change (labs...stewardbots)

2016-02-25 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: fix typo
..

fix typo

Change-Id: Ifd41d32c4db6cb104ee8f686c646ab4bbdd57af2
---
M README.md
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/stewardbots 
refs/changes/85/273285/1

diff --git a/README.md b/README.md
index 28b39ee..9c850ef 100644
--- a/README.md
+++ b/README.md
@@ -29,5 +29,4 @@
 Authors
 ---
 
-Current and former stewards, see attribution in each file respectivly.
-
+Current and former stewards, see attribution in each file respectively.

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifd41d32c4db6cb104ee8f686c646ab4bbdd57af2
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/stewardbots
Gerrit-Branch: master
Gerrit-Owner: Matanya 

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


[MediaWiki-commits] [Gerrit] current stewards web page on tools - change (labs...stewardbots)

2016-02-25 Thread Matanya (Code Review)
Matanya has submitted this change and it was merged.

Change subject: current stewards web page on tools
..


current stewards web page on tools

https://tools.wmflabs.org/stewardbots/ - will fix and update in following
patches

Change-Id: Ie6aae29d2160edabab00e9f7cbaed4bf4fa5ab04
---
A site/index.html
1 file changed, 111 insertions(+), 0 deletions(-)

Approvals:
  Matanya: Verified; Looks good to me, approved



diff --git a/site/index.html b/site/index.html
new file mode 100644
index 000..bc72477
--- /dev/null
+++ b/site/index.html
@@ -0,0 +1,111 @@
+
+
+home
+
+
+
+stewardbots
+
+WARNING: This page was copied over from https://toolserver.org/~stewardbots/docs/home;>toolserver, and the
+information might not be accurate! Please see there if something is broken
+here!
+
+This is a https://wiki.toolserver.org/view/Multi-maintainer_projects;>multi-maintainer
+project for several IRC bots and steward tools. The users with access
+are:
+
+
+http://meta.wikimedia.org/wiki/User:DerHexer;>User:DerHexer
+(toolserver user  IRC nick derhexer)
+http://meta.wikimedia.org/wiki/User:Dungodung;>User:Dungodung
+(toolserver user  IRC nick dungodung)
+http://meta.wikimedia.org/wiki/User:Erwin;>User:Erwin
+(toolserver user erwin85; IRC nick erwin)
+http://meta.wikimedia.org/wiki/User:Jyothis;>User:Jyothis
+(toolserver user  IRC nick jyothis)
+http://meta.wikimedia.org/wiki/User:Kylu;>User:Kylu 
(toolserver
+user  IRC nick kylu)
+http://meta.wikimedia.org/wiki/User:Laaknor;>User:Laaknor
+(toolserver user  IRC nick laaknor)
+http://meta.wikimedia.org/wiki/User:Matanya;>User:Matanya
+(toolserver user  IRC nick matanya)
+http://meta.wikimedia.org/wiki/User:Melos;>User:Melos
+(toolserver user  IRC nick melos)
+http://meta.wikimedia.org/wiki/User:MF-Warburg;>User:MF-Warburg
+(toolserver user mfw; IRC nick MF-Warburg)
+http://meta.wikimedia.org/wiki/User:Mike.lifeguard;>User:Mike.lifeguard
+(toolserver user lifeguard; IRC nick
+Mike_lifeguard)
+http://meta.wikimedia.org/wiki/User:Pathoschild;>User:Pathoschild
+(toolserver user  IRC nick pathoschild)
+http://meta.wikimedia.org/wiki/User:Quentinv57;>User:Quentinv57
+(toolserver user  IRC nick quentinv57)
+http://meta.wikimedia.org/wiki/User:Snowolf;>User:Snowolf
+(toolserver user snowolf; IRC nick 
QueenOfFrance)
+http://meta.wikimedia.org/wiki/User:Wikitanvir;>User:Wikitanvir
+(toolserver user wikitanvir; IRC nick Tanvir)
+
+
+:side from our Meta talk pages, you can contact any of these users by:
+
+
+IRC: We can usually be found in #wikimedia-stewards.
+IRC memo: If someone isn't online, you can leave them a memo: /msg
+memoserv send user your memo here
+Email: We all have email enabled on-wiki; if you do too, see 
+Special:EmailUser/user. Otherwise, you can email 
+toolserver-username@toolserver.org.
+
+
+Help pages for the bots:
+
+
+SULWatcher
+StewardBot
+BLWatcher, BiblioBot,
+sourceybot, The_Hawk
+
+
+
+Tools:
+
+
+Elections: Breakdown of the 
steward
+elections.
+Requests: Overview of open steward
+requests.
+Delete: Overview of open
+speedy deletion requests.
+Projects: Overview of
+number of admins/crats/CU/OS on Wikimedia projects.
+
+
+
+For members of the stewardbots project
+
+You may be looking for documentation on how to start the bots or truncate .out files.
+
+The https://wiki.toolserver.org/view/Subversion;>SVN repository
+is https://fisheye.toolserver.org/changelog/p_stewardbots;>p_stewardbots,
+and you can commit at https://svn.toolserver.org/svnroot/p_stewardbots;>https://svn.toolserver.org/svnroot/p_stewardbots.
+
+The project maintains two crontab files, mirrored here daily: linux, solaris
+
+This page was last modified Sun Apr 28 11:00:47 2013.  View
+source.
+
+
+

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie6aae29d2160edabab00e9f7cbaed4bf4fa5ab04
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/stewardbots
Gerrit-Branch: master
Gerrit-Owner: Matanya 
Gerrit-Reviewer: Matanya 

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


[MediaWiki-commits] [Gerrit] current stewards web page on tools - change (labs...stewardbots)

2016-02-25 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: current stewards web page on tools
..

current stewards web page on tools

https://tools.wmflabs.org/stewardbots/ - will fix and update in following
patches

Change-Id: Ie6aae29d2160edabab00e9f7cbaed4bf4fa5ab04
---
A site/index.html
1 file changed, 111 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/stewardbots 
refs/changes/88/273288/1

diff --git a/site/index.html b/site/index.html
new file mode 100644
index 000..bc72477
--- /dev/null
+++ b/site/index.html
@@ -0,0 +1,111 @@
+
+
+home
+
+
+
+stewardbots
+
+WARNING: This page was copied over from https://toolserver.org/~stewardbots/docs/home;>toolserver, and the
+information might not be accurate! Please see there if something is broken
+here!
+
+This is a https://wiki.toolserver.org/view/Multi-maintainer_projects;>multi-maintainer
+project for several IRC bots and steward tools. The users with access
+are:
+
+
+http://meta.wikimedia.org/wiki/User:DerHexer;>User:DerHexer
+(toolserver user  IRC nick derhexer)
+http://meta.wikimedia.org/wiki/User:Dungodung;>User:Dungodung
+(toolserver user  IRC nick dungodung)
+http://meta.wikimedia.org/wiki/User:Erwin;>User:Erwin
+(toolserver user erwin85; IRC nick erwin)
+http://meta.wikimedia.org/wiki/User:Jyothis;>User:Jyothis
+(toolserver user  IRC nick jyothis)
+http://meta.wikimedia.org/wiki/User:Kylu;>User:Kylu 
(toolserver
+user  IRC nick kylu)
+http://meta.wikimedia.org/wiki/User:Laaknor;>User:Laaknor
+(toolserver user  IRC nick laaknor)
+http://meta.wikimedia.org/wiki/User:Matanya;>User:Matanya
+(toolserver user  IRC nick matanya)
+http://meta.wikimedia.org/wiki/User:Melos;>User:Melos
+(toolserver user  IRC nick melos)
+http://meta.wikimedia.org/wiki/User:MF-Warburg;>User:MF-Warburg
+(toolserver user mfw; IRC nick MF-Warburg)
+http://meta.wikimedia.org/wiki/User:Mike.lifeguard;>User:Mike.lifeguard
+(toolserver user lifeguard; IRC nick
+Mike_lifeguard)
+http://meta.wikimedia.org/wiki/User:Pathoschild;>User:Pathoschild
+(toolserver user  IRC nick pathoschild)
+http://meta.wikimedia.org/wiki/User:Quentinv57;>User:Quentinv57
+(toolserver user  IRC nick quentinv57)
+http://meta.wikimedia.org/wiki/User:Snowolf;>User:Snowolf
+(toolserver user snowolf; IRC nick 
QueenOfFrance)
+http://meta.wikimedia.org/wiki/User:Wikitanvir;>User:Wikitanvir
+(toolserver user wikitanvir; IRC nick Tanvir)
+
+
+:side from our Meta talk pages, you can contact any of these users by:
+
+
+IRC: We can usually be found in #wikimedia-stewards.
+IRC memo: If someone isn't online, you can leave them a memo: /msg
+memoserv send user your memo here
+Email: We all have email enabled on-wiki; if you do too, see 
+Special:EmailUser/user. Otherwise, you can email 
+toolserver-username@toolserver.org.
+
+
+Help pages for the bots:
+
+
+SULWatcher
+StewardBot
+BLWatcher, BiblioBot,
+sourceybot, The_Hawk
+
+
+
+Tools:
+
+
+Elections: Breakdown of the 
steward
+elections.
+Requests: Overview of open steward
+requests.
+Delete: Overview of open
+speedy deletion requests.
+Projects: Overview of
+number of admins/crats/CU/OS on Wikimedia projects.
+
+
+
+For members of the stewardbots project
+
+You may be looking for documentation on how to start the bots or truncate .out files.
+
+The https://wiki.toolserver.org/view/Subversion;>SVN repository
+is https://fisheye.toolserver.org/changelog/p_stewardbots;>p_stewardbots,
+and you can commit at https://svn.toolserver.org/svnroot/p_stewardbots;>https://svn.toolserver.org/svnroot/p_stewardbots.
+
+The project maintains two crontab files, mirrored here daily: linux, solaris
+
+This page was last modified Sun Apr 28 11:00:47 2013.  View
+source.
+
+
+

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie6aae29d2160edabab00e9f7cbaed4bf4fa5ab04
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/stewardbots
Gerrit-Branch: master
Gerrit-Owner: Matanya 

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


[MediaWiki-commits] [Gerrit] add readme - change (labs...stewardbots)

2016-02-24 Thread Matanya (Code Review)
Matanya has submitted this change and it was merged.

Change subject: add readme
..


add readme

Change-Id: I519d9b3edf4d41c427a775328fa72a1c2d4548a8
---
A README.md
1 file changed, 33 insertions(+), 0 deletions(-)

Approvals:
  Matanya: Verified; Looks good to me, approved



diff --git a/README.md b/README.md
new file mode 100644
index 000..28b39ee
--- /dev/null
+++ b/README.md
@@ -0,0 +1,33 @@
+Stewardbots - collection of tools for wikimedia stewards
+=
+
+More about stewards can be found at [Meta 
Wiki](https://meta.wikimedia.org/wiki/Stewards)
+
+Included Tools
+
+
+- Stewardbot
+- SULwatcher
+
+Requirements
+
+
+- Python >= 2.7
+- MySQL DB
+
+Documentation
+-
+
+- [Installation](docs/installation.markdown)
+- Add missing docs
+
+License
+---
+
+- GPL: 
+
+Authors
+---
+
+Current and former stewards, see attribution in each file respectivly.
+

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I519d9b3edf4d41c427a775328fa72a1c2d4548a8
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/stewardbots
Gerrit-Branch: master
Gerrit-Owner: Matanya 
Gerrit-Reviewer: Matanya 

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


[MediaWiki-commits] [Gerrit] add readme - change (labs...stewardbots)

2016-02-24 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: add readme
..

add readme

Change-Id: I519d9b3edf4d41c427a775328fa72a1c2d4548a8
---
A README.md
1 file changed, 33 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/stewardbots 
refs/changes/25/273125/1

diff --git a/README.md b/README.md
new file mode 100644
index 000..28b39ee
--- /dev/null
+++ b/README.md
@@ -0,0 +1,33 @@
+Stewardbots - collection of tools for wikimedia stewards
+=
+
+More about stewards can be found at [Meta 
Wiki](https://meta.wikimedia.org/wiki/Stewards)
+
+Included Tools
+
+
+- Stewardbot
+- SULwatcher
+
+Requirements
+
+
+- Python >= 2.7
+- MySQL DB
+
+Documentation
+-
+
+- [Installation](docs/installation.markdown)
+- Add missing docs
+
+License
+---
+
+- GPL: 
+
+Authors
+---
+
+Current and former stewards, see attribution in each file respectivly.
+

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I519d9b3edf4d41c427a775328fa72a1c2d4548a8
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/stewardbots
Gerrit-Branch: master
Gerrit-Owner: Matanya 

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


[MediaWiki-commits] [Gerrit] initial commit - change (labs...stewardbots)

2016-02-24 Thread Matanya (Code Review)
Matanya has submitted this change and it was merged.

Change subject: initial commit
..


initial commit

Change-Id: Ia45b513800e949fb0e7f800965dc4cfd77ecbcc6
---
A StewardBot/StewardBot.html
A StewardBot/StewardBot.py
A StewardBot/config.py
A StewardBot/restart_stewardbot.sh
4 files changed, 1,325 insertions(+), 0 deletions(-)

Approvals:
  Matanya: Verified; Looks good to me, approved



diff --git a/StewardBot/StewardBot.html b/StewardBot/StewardBot.html
new file mode 100644
index 000..201f451
--- /dev/null
+++ b/StewardBot/StewardBot.html
@@ -0,0 +1,336 @@
+
+
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;>
+http://www.w3.org/1999/xhtml; lang="en" xml:lang="en">
+
+
+
+StewardBot
+
+http://meta.wikimedia.org/skins-1.5/common/shared.css?165; 
type="text/css" media="screen" />
+
+/*http://meta.wikimedia.org/skins-1.5/monobook/main.css?5";;
+body {
+font-size: 8pt;
+}
+div.header {
+margin: 15px 15px 15px 150px;
+border: #7B68EE solid 1px;
+background-color: #FF;
+font-family: Trebuchet MS, Tahoma, Arial;
+padding: 1px;
+}
+div.content {
+padding: 0px 15px 0px 15px;
+border: #CC solid 1px;
+background-color: #FF;
+margin: 20px 0px 0px 150px;
+}
+/*]]>*/
+
+http://meta.wikimedia.org/w/index.php?title=MediaWiki:Common.cssusemsgcache=yesctype=text%2Fcsssmaxage=2678400action=rawmaxage=2678400ts=20080818041814;
 type="text/css" />
+http://meta.wikimedia.org/w/index.php?title=MediaWiki:Monobook.cssusemsgcache=yesctype=text%2Fcsssmaxage=2678400action=rawmaxage=2678400ts=20080818041814;
 type="text/css" media="screen" />
+
+/*http://upload.wikimedia.org/wikipedia/commons/thumb/b/be/Wikimedia_Community_Logo-Toolserver.svg/130px-Wikimedia_Community_Logo-Toolserver.svg.png);}
+ th.c1 {background-color:black;color:white}
+/*]]>*/
+
+
+
+
+
+
+
+StewardBot - Help
+StewardBot (http://en.wiktionary.org/wiki/AKA; class="extiw" 
title="wikt:AKA">aka Stewie) is nice little bot who spends his life in 
#wikimedia-stewards. He makes life easier for the 
stewards and everyone else; he is a good bot!
+
+Commands
+
+
+Command
+Description
+Notes/Example
+
+
+!steward
+Pings all of the stewards (emergency)
+
+
+
+@steward
+Pings a group of stewards who have opted-in (non-emergency)
+kibble@steward Az has gone rouge!
+StewardBotStewards: Attention requested by kibble ( DerHexer Dungodung 
)
+
+
+@quiet
+Makes Stewie be quiet and not speak. :'(
+dungodung@quiet
+StewardBotI'll be quiet :(
+
+
+@speak
+Makes Stewie talk again.
+dungodung@speak
+StewardBotBack in action :)
+
+
+@notify on
+Turns notification (!steward) on
+StewardBotNotification on
+
+
+@notify off
+Turns notification (!steward) off
+StewardBotNotification off
+
+
+@stew
+@privileged
+@ignored
+@stalked
+@listen
+Advanced settings
+See the section below for more 
information.
+
+
+@help
+Displays a link to this help page
+kibble@help
+StewardBotHelp = http://www.toolserver.org/~stewardbots/stewardbot.html; class="external 
free" title="http://www.toolserver.org/~stewardbots/stewardbot.html; 
rel="nofollow">http://www.toolserver.org/~stewardbots/stewardbot.html
+
+
+@huggle
+The huggle command. :D
+
+
+
+@test
+Tests the rc reader and posts what was last received on 
irc.wikimedia.org
+
+
+
+@die
+Quits the bot (http://meta.wikimedia.org/wiki/User:Dungodung; 
title="User:Dungodung">owner-only)
+dungodung @die
+* StewardBot has left irc.freenode.net ("Goodbye!")
+
+
+
+
+Advanced settings
+
+
+Command
+Subcommand
+Parameters
+Description
+Notes/Example
+
+
+stew
+add
+username [nick [cloak [opt-in]]]
+Adds a new steward defined by username and optional parameters: nickname, 
cloak and boolean 
opt-in information; special value "-" can be used for the cloak 
parameter if the user has no cloak
+dungodung@stew add Cbrown1023 kibble wikimedia/Cbrown1023 true
+
+
+removedelete
+username
+Removes a steward (and all related info) by username
+dungodung@stew remove Cbrown1023
+
+
+changeeditmodifyrename
+username [username [nick [cloak 
[opt-in
+Changes the username, nick, cloak and/or opt-in information of a steward; 
special value "-" can be used for all but the first parameter
+dungodung@stew change Cbrown1023 - worby - 0
+
+
+users
+
+Lists all stewards by username

[MediaWiki-commits] [Gerrit] add SULwatcher - change (labs...stewardbots)

2016-02-24 Thread Matanya (Code Review)
Matanya has submitted this change and it was merged.

Change subject: add SULwatcher
..


add SULwatcher

Change-Id: I8bf8fb6e8dabd34d7ffdf6560c02afca6bcc0416
---
A SULWatcher/README
A SULWatcher/SULWatcher.py
A SULWatcher/SULWatcher.sql
A SULWatcher/ini2mysql.py
A SULWatcher/restart_SULWatcher.sh
5 files changed, 1,101 insertions(+), 0 deletions(-)

Approvals:
  Matanya: Verified; Looks good to me, approved



diff --git a/SULWatcher/README b/SULWatcher/README
new file mode 100644
index 000..d5c03e0
--- /dev/null
+++ b/SULWatcher/README
@@ -0,0 +1,45 @@
+== SULWatcher ==
+
+SULWatcher is an IRC bot that parses the RC feed for CentralAuth using regex
+and reports to a freenode channel.
+
+SULWatcher was written by:
+* Mike.lifeguard
+* Erwin
+* Dungodung (Filip Maljkovic)
+
+This software is licensed under the GPL.
+
+=== INSTALL ===
+
+You'll need MySQL and python.
+
+1)  Create a database for this bot.
+2)  In MySQL:
+CREATE DATABASE 
+3)  Open SULWatcher.sql and replace all occurences of p_stewardbots_sulwatcher 
with the name of 
+your database.
+Execute SULWatcher.sql, in MySQL:
+SOURCE SULWatcher.sql
+4)  (optional) To convert an old .ini configuration to a database 
configuration:
+Open ini2mysql.py and replace all occurences of p_stewardbots_sulwatcher 
with the name of
+your database.
+Execute ini2mysql.py:
+python ini2mysql.py
+
+=== BACKUP ===
+
+To backup the database execute:
+mysqldump  > .sql
+
+You can then re-import the database with:
+mysql  < .sql
+
+=== Database layout ===
+The bot uses three tables to store its setup, regexes and log hits. At the
+toolserver these tables are in p_stewardbots_sulwatcher on sql-s3.
+
+Setup is stored in "setup", regexes in "regex" and logging is done in
+"logging". The table "unique_logging" is a [[View (database)|view]] on
+"logging" used by http://toolserver.org/~stewardbots/SULWatcher/, it is not
+used by the IRC bot itself.
diff --git a/SULWatcher/SULWatcher.py b/SULWatcher/SULWatcher.py
new file mode 100755
index 000..bc1653f
--- /dev/null
+++ b/SULWatcher/SULWatcher.py
@@ -0,0 +1,926 @@
+#! /usr/bin/python
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+# SYNPOPSIS:This bot parses the RC feed for CentralAuth using
+#   regex, and reports to a freenode channel.
+# LICENSE:  GPL
+# CREDITS:  Mike.lifeguard, Erwin, Dungodung (Filip Maljkovic)
+#
+
+import sys
+import os
+import re
+import time
+import string
+import threading
+#import thread
+import traceback
+import urllib
+import MySQLdb
+import MySQLdb.cursors
+
+# Needs python-irclib
+from ircbot import SingleServerIRCBot
+from irclib import nm_to_n
+
+class querier:
+"""A wrapper for MySQLdb"""
+
+def __init__(self, *args, **kwargs):
+self.args = args
+self.kwargs = kwargs
+
+if 'read_default_file' not in self.kwargs:
+ self.kwargs['read_default_file'] = '~/.my.cnf'
+   
+self.kwargs['cursorclass'] = MySQLdb.cursors.DictCursor
+
+self.connect()
+
+# Connect to the database server.
+def connect(self, *args, **kwargs):
+self.cursor = None
+self.db = MySQLdb.connect(*self.args, **self.kwargs)
+self.db.autocommit(True) # Autocommit transactions
+
+# Execute a query.
+def do(self, *args, **kwargs):
+try:
+self.cursor = self.db.cursor()
+self.cursor.execute(*args, **kwargs)
+except (AttributeError, MySQLdb.OperationalError):
+# Try to reconnect to the server.
+self.connect()
+self.cursor = self.db.cursor()
+try:
+self.cursor.execute(*args, **kwargs)
+except:
+# Nothing we can do now.
+return None
+
+results = tuple(self.cursor.fetchall())
+self.cursor.close()
+return results
+
+class SULWatcherException(Exception):
+"""A single base exception class for all other SULWatcher errors."""
+pass
+
+class CommanderError(SULWatcherException):
+"""This exception is raised when the command parser fails."""
+def __init__(self,value):
+self.value = value
+def __str__(self):
+return repr(self.value)
+
+class BotConnectionError(SULWatcherException):
+"""This exception is raised when a bot has some connection error."""
+def __init(self,value):
+self.value = value
+def __str__(self):
+return repr(self.value)
+
+class ParseHostMaskError(SULWatcherException):
+"""This exception is raised when a hostmask can't be parsed."""
+def __init__(self, value):
+self.value = value
+def __str__(self):
+return repr(self.value)
+
+class FreenodeBot(SingleServerIRCBot):
+def __init__(self, channel, nickname, server, password, port=6667):
+SingleServerIRCBot.__init__(self, [(server, port, 

[MediaWiki-commits] [Gerrit] add SULwatcher - change (labs...stewardbots)

2016-02-24 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: add SULwatcher
..

add SULwatcher

Change-Id: I8bf8fb6e8dabd34d7ffdf6560c02afca6bcc0416
---
A SULWatcher/README
A SULWatcher/SULWatcher.py
A SULWatcher/SULWatcher.sql
A SULWatcher/ini2mysql.py
A SULWatcher/restart_SULWatcher.sh
5 files changed, 1,101 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/stewardbots 
refs/changes/22/273122/1

diff --git a/SULWatcher/README b/SULWatcher/README
new file mode 100644
index 000..d5c03e0
--- /dev/null
+++ b/SULWatcher/README
@@ -0,0 +1,45 @@
+== SULWatcher ==
+
+SULWatcher is an IRC bot that parses the RC feed for CentralAuth using regex
+and reports to a freenode channel.
+
+SULWatcher was written by:
+* Mike.lifeguard
+* Erwin
+* Dungodung (Filip Maljkovic)
+
+This software is licensed under the GPL.
+
+=== INSTALL ===
+
+You'll need MySQL and python.
+
+1)  Create a database for this bot.
+2)  In MySQL:
+CREATE DATABASE 
+3)  Open SULWatcher.sql and replace all occurences of p_stewardbots_sulwatcher 
with the name of 
+your database.
+Execute SULWatcher.sql, in MySQL:
+SOURCE SULWatcher.sql
+4)  (optional) To convert an old .ini configuration to a database 
configuration:
+Open ini2mysql.py and replace all occurences of p_stewardbots_sulwatcher 
with the name of
+your database.
+Execute ini2mysql.py:
+python ini2mysql.py
+
+=== BACKUP ===
+
+To backup the database execute:
+mysqldump  > .sql
+
+You can then re-import the database with:
+mysql  < .sql
+
+=== Database layout ===
+The bot uses three tables to store its setup, regexes and log hits. At the
+toolserver these tables are in p_stewardbots_sulwatcher on sql-s3.
+
+Setup is stored in "setup", regexes in "regex" and logging is done in
+"logging". The table "unique_logging" is a [[View (database)|view]] on
+"logging" used by http://toolserver.org/~stewardbots/SULWatcher/, it is not
+used by the IRC bot itself.
diff --git a/SULWatcher/SULWatcher.py b/SULWatcher/SULWatcher.py
new file mode 100755
index 000..bc1653f
--- /dev/null
+++ b/SULWatcher/SULWatcher.py
@@ -0,0 +1,926 @@
+#! /usr/bin/python
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+# SYNPOPSIS:This bot parses the RC feed for CentralAuth using
+#   regex, and reports to a freenode channel.
+# LICENSE:  GPL
+# CREDITS:  Mike.lifeguard, Erwin, Dungodung (Filip Maljkovic)
+#
+
+import sys
+import os
+import re
+import time
+import string
+import threading
+#import thread
+import traceback
+import urllib
+import MySQLdb
+import MySQLdb.cursors
+
+# Needs python-irclib
+from ircbot import SingleServerIRCBot
+from irclib import nm_to_n
+
+class querier:
+"""A wrapper for MySQLdb"""
+
+def __init__(self, *args, **kwargs):
+self.args = args
+self.kwargs = kwargs
+
+if 'read_default_file' not in self.kwargs:
+ self.kwargs['read_default_file'] = '~/.my.cnf'
+   
+self.kwargs['cursorclass'] = MySQLdb.cursors.DictCursor
+
+self.connect()
+
+# Connect to the database server.
+def connect(self, *args, **kwargs):
+self.cursor = None
+self.db = MySQLdb.connect(*self.args, **self.kwargs)
+self.db.autocommit(True) # Autocommit transactions
+
+# Execute a query.
+def do(self, *args, **kwargs):
+try:
+self.cursor = self.db.cursor()
+self.cursor.execute(*args, **kwargs)
+except (AttributeError, MySQLdb.OperationalError):
+# Try to reconnect to the server.
+self.connect()
+self.cursor = self.db.cursor()
+try:
+self.cursor.execute(*args, **kwargs)
+except:
+# Nothing we can do now.
+return None
+
+results = tuple(self.cursor.fetchall())
+self.cursor.close()
+return results
+
+class SULWatcherException(Exception):
+"""A single base exception class for all other SULWatcher errors."""
+pass
+
+class CommanderError(SULWatcherException):
+"""This exception is raised when the command parser fails."""
+def __init__(self,value):
+self.value = value
+def __str__(self):
+return repr(self.value)
+
+class BotConnectionError(SULWatcherException):
+"""This exception is raised when a bot has some connection error."""
+def __init(self,value):
+self.value = value
+def __str__(self):
+return repr(self.value)
+
+class ParseHostMaskError(SULWatcherException):
+"""This exception is raised when a hostmask can't be parsed."""
+def __init__(self, value):
+self.value = value
+def __str__(self):
+return repr(self.value)
+
+class FreenodeBot(SingleServerIRCBot):
+def __init__(self, channel, nickname, server, password, 

[MediaWiki-commits] [Gerrit] initial commit - change (labs...stewardbots)

2016-02-24 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: initial commit
..

initial commit

Change-Id: Ia45b513800e949fb0e7f800965dc4cfd77ecbcc6
---
A StewardBot/StewardBot.html
A StewardBot/StewardBot.py
A StewardBot/config.py
A StewardBot/restart_stewardbot.sh
4 files changed, 1,325 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/stewardbots 
refs/changes/16/273116/1

diff --git a/StewardBot/StewardBot.html b/StewardBot/StewardBot.html
new file mode 100644
index 000..201f451
--- /dev/null
+++ b/StewardBot/StewardBot.html
@@ -0,0 +1,336 @@
+
+
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;>
+http://www.w3.org/1999/xhtml; lang="en" xml:lang="en">
+
+
+
+StewardBot
+
+http://meta.wikimedia.org/skins-1.5/common/shared.css?165; 
type="text/css" media="screen" />
+
+/*http://meta.wikimedia.org/skins-1.5/monobook/main.css?5";;
+body {
+font-size: 8pt;
+}
+div.header {
+margin: 15px 15px 15px 150px;
+border: #7B68EE solid 1px;
+background-color: #FF;
+font-family: Trebuchet MS, Tahoma, Arial;
+padding: 1px;
+}
+div.content {
+padding: 0px 15px 0px 15px;
+border: #CC solid 1px;
+background-color: #FF;
+margin: 20px 0px 0px 150px;
+}
+/*]]>*/
+
+http://meta.wikimedia.org/w/index.php?title=MediaWiki:Common.cssusemsgcache=yesctype=text%2Fcsssmaxage=2678400action=rawmaxage=2678400ts=20080818041814;
 type="text/css" />
+http://meta.wikimedia.org/w/index.php?title=MediaWiki:Monobook.cssusemsgcache=yesctype=text%2Fcsssmaxage=2678400action=rawmaxage=2678400ts=20080818041814;
 type="text/css" media="screen" />
+
+/*http://upload.wikimedia.org/wikipedia/commons/thumb/b/be/Wikimedia_Community_Logo-Toolserver.svg/130px-Wikimedia_Community_Logo-Toolserver.svg.png);}
+ th.c1 {background-color:black;color:white}
+/*]]>*/
+
+
+
+
+
+
+
+StewardBot - Help
+StewardBot (http://en.wiktionary.org/wiki/AKA; class="extiw" 
title="wikt:AKA">aka Stewie) is nice little bot who spends his life in 
#wikimedia-stewards. He makes life easier for the 
stewards and everyone else; he is a good bot!
+
+Commands
+
+
+Command
+Description
+Notes/Example
+
+
+!steward
+Pings all of the stewards (emergency)
+
+
+
+@steward
+Pings a group of stewards who have opted-in (non-emergency)
+kibble@steward Az has gone rouge!
+StewardBotStewards: Attention requested by kibble ( DerHexer Dungodung 
)
+
+
+@quiet
+Makes Stewie be quiet and not speak. :'(
+dungodung@quiet
+StewardBotI'll be quiet :(
+
+
+@speak
+Makes Stewie talk again.
+dungodung@speak
+StewardBotBack in action :)
+
+
+@notify on
+Turns notification (!steward) on
+StewardBotNotification on
+
+
+@notify off
+Turns notification (!steward) off
+StewardBotNotification off
+
+
+@stew
+@privileged
+@ignored
+@stalked
+@listen
+Advanced settings
+See the section below for more 
information.
+
+
+@help
+Displays a link to this help page
+kibble@help
+StewardBotHelp = http://www.toolserver.org/~stewardbots/stewardbot.html; class="external 
free" title="http://www.toolserver.org/~stewardbots/stewardbot.html; 
rel="nofollow">http://www.toolserver.org/~stewardbots/stewardbot.html
+
+
+@huggle
+The huggle command. :D
+
+
+
+@test
+Tests the rc reader and posts what was last received on 
irc.wikimedia.org
+
+
+
+@die
+Quits the bot (http://meta.wikimedia.org/wiki/User:Dungodung; 
title="User:Dungodung">owner-only)
+dungodung @die
+* StewardBot has left irc.freenode.net ("Goodbye!")
+
+
+
+
+Advanced settings
+
+
+Command
+Subcommand
+Parameters
+Description
+Notes/Example
+
+
+stew
+add
+username [nick [cloak [opt-in]]]
+Adds a new steward defined by username and optional parameters: nickname, 
cloak and boolean 
opt-in information; special value "-" can be used for the cloak 
parameter if the user has no cloak
+dungodung@stew add Cbrown1023 kibble wikimedia/Cbrown1023 true
+
+
+removedelete
+username
+Removes a steward (and all related info) by username
+dungodung@stew remove Cbrown1023
+
+
+changeeditmodifyrename
+username [username [nick [cloak 
[opt-in
+Changes the username, nick, cloak and/or opt-in information of a steward; 
special value "-" can be used for all but the first parameter
+dungodung@stew change Cbrown1023 - 

[MediaWiki-commits] [Gerrit] access: update key for Mholloway - change (operations/puppet)

2015-08-24 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: access: update key for Mholloway
..

access: update key for Mholloway

bug: T110064
Change-Id: I0f87148e0f9e62420c5c5364f41bd918054e990b
---
M modules/admin/data/data.yaml
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/82/233582/1

diff --git a/modules/admin/data/data.yaml b/modules/admin/data/data.yaml
index d08cf5b..0a3a427 100644
--- a/modules/admin/data/data.yaml
+++ b/modules/admin/data/data.yaml
@@ -1437,7 +1437,7 @@
 gid: 500
 name: mholloway-shell
 realname: Michael Holloway
-ssh_keys: [ssh-rsa 
B3NzaC1yc2EDAQABAAABAQDKNY14xr+N/ejbAA196DAJuUwImxIrgRbdrnQxpjh40etdoJ7aP2ClqFebKTCulYPssnnxz0Ekyv+TOGbUZptcah+CQgGqaFEcDeDoWblNmZN4hLVpDzAfMtt2xLzuXArNFgSXEKfhBg0ZRDSL2236C2tw9Tes5kgLC9MX6CNJjkPKeUjn3ypHKvRThnKgDS50EXQqa4lWx8Whysag4hichE3064BDeEDsLaI1uTu2g+OLqI+XEb7/GKdbefp+OmghHpIB6R8AIOGWUZy5Xfj99aq79dneL81xBg3XDJHN31sCwXAT+BX2ZImgn4fUvEOGI2bO8OobaYdZk0qCt45t
 mhollo...@wikimedia.org]
+ssh_keys: [ssh-rsa 
B3NzaC1yc2EDAQABAAABAQClpNu2ypDdiuw6Lh0xB6/niNGkBgI3U7YEKycd2QaD/mNeaIj+s3BgOYT86FkvZlK9L6VcCp6rPTW9ExQULJMr8VRZkYItSSrnx6hrNIfXnf7oB1UIkC5qtMWbg6Y6KvvvzJxMmcNymuLBMstcxvKUn+CN3+aCnpVHv5b4YGOJZmpHKEM1/OywXvp+DRfq93qkfvelOHG/dcUfwPj4tfrP10nLkAMyJWKkfLXvkoW1TfqOqYDk3hjJNyuFnYOyw46l+lX7SEoiooFQfJPq7kMafPfG+uJHwbtO8v5E0TIyCmjS7eJkpF/braBMxZwUIgBqjh+6jgCGD99H2RVPFKrh
 mhollo...@wikimedia.org 2015-08-24]
 uid: 11963
   madhuvishy:
 ensure: present

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0f87148e0f9e62420c5c5364f41bd918054e990b
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] access: stat1002 access for tgr - change (operations/puppet)

2015-08-10 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: access: stat1002 access for tgr
..

access: stat1002 access for tgr

bug: T108417
Change-Id: I5aa92990ddaad5512d331440ef26220842e676b6
---
M modules/admin/data/data.yaml
1 file changed, 1 insertion(+), 1 deletion(-)


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

diff --git a/modules/admin/data/data.yaml b/modules/admin/data/data.yaml
index a17c0a6..93f248a 100644
--- a/modules/admin/data/data.yaml
+++ b/modules/admin/data/data.yaml
@@ -219,7 +219,7 @@
   bsitzmann, dbrant, declerambaul, ellery, nettrom, leila,
   ezachte, mforns, reedy, west1, phuedx, ananthrk, awight,
   joal, jamesur, akosiaris, jhobs, lpintscher, jkatz, madhuvishy, 
gpaumier,
-  andyrussg, niedzielski, maxsem, hoo, daniel, tbayer, krinkle]
+  andyrussg, niedzielski, maxsem, hoo, daniel, tbayer, krinklei, 
tgr]
   analytics-admins:
 gid: 732
 description: Admin access to analytics cluster.

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5aa92990ddaad5512d331440ef26220842e676b6
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] access: grant Tilman Bayer access the Analytics data - change (operations/puppet)

2015-07-23 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: access: grant Tilman Bayer access the Analytics data
..

access: grant Tilman Bayer access the Analytics data

bug : T105748

Change-Id: Iaca3da6e924ceb70d9e4d0f8b7ca36ed6cddf877
---
M modules/admin/data/data.yaml
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/15/226615/1

diff --git a/modules/admin/data/data.yaml b/modules/admin/data/data.yaml
index 71eb227..6aa1486 100644
--- a/modules/admin/data/data.yaml
+++ b/modules/admin/data/data.yaml
@@ -217,7 +217,7 @@
   bsitzmann, dbrant, declerambaul, ellery, nettrom, leila,
   ezachte, mforns, reedy, west1, phuedx, ananthrk, awight,
   joal, jamesur, akosiaris, jhobs, lpintscher, jkatz, madhuvishy, 
gpaumier,
-  andyrussg, niedzielski, maxsem, hoo]
+  andyrussg, niedzielski, maxsem, hoo, tbayer]
   analytics-admins:
 gid: 732
 description: Admin access to analytics cluster.

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaca3da6e924ceb70d9e4d0f8b7ca36ed6cddf877
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] access: New production ssh key for awight - change (operations/puppet)

2015-07-23 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: access: New production ssh key for awight
..

access: New production ssh key for awight

bug: T106625
Change-Id: Iac2424b30944c6aee3366ee22f82bdbbc5b1ecec
---
M modules/admin/data/data.yaml
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/88/226488/1

diff --git a/modules/admin/data/data.yaml b/modules/admin/data/data.yaml
index ca0a797..2d57b29 100644
--- a/modules/admin/data/data.yaml
+++ b/modules/admin/data/data.yaml
@@ -526,8 +526,8 @@
 gid: 500
 name: awight
 realname: Adam Wight
-ssh_keys: [ssh-rsa 
B3NzaC1yc2EDAQABAAABAQDUufKplYyhM0XXNnIljJdFO2SX/YbAltqDxcrQnjTIqY1aaspEjc0c1cEPBjnP7iheRcw8oEDYSjYf7Vlw2n00rFeA+dgz8XAADwwrYZ21Adsipqo80ngaQVvDiEDvvHHU6GXb3b16vFJVOn9oin+rx747Xd5gNxeAZPYr+tEy0WyPj2UYSsEZS4m2ZUhpbxY7OU1eDupAxpClsmMqW6reXdTJsVJCulCLs2nHndeE0NJkKtSuH2JDCB/7MfBT/DEhKo45G5b36f1lhJNwyzLQhZ5/ak/tAuw9nv/NmEB9G9m/xzgGBTGfWQUrjBNsT1isY7XbXvJ0bJ4/Gyu6ZJl/
-adamw]
+ssh_keys: [ssh-rsa 
B3NzaC1yc2EDAQABAAABAQCzAkfYJYWTVcc8p4P9DD1KY2Er2yfwhla4S8ejYC6Pzfq2NoDuQZQIk/FgI8bxnySg8eguRWAqH43xpmQQZSxzNsN9dWSOBFbD5u5VCv33r5AUreoEjh14UhsZ+aUNKWR8ILC3+XJuaS6nVVsXs7iAg28SvpVbsmZg4iInHUs/X8Ca1oola15VdFkgte79C3pK5Rti4+sjOZFrX/oAo4R6xsV5A2uopfkR7681DYEEEcVVK6ElnR47BJvkJvsGi7jOyoYp83K5xDXPvpXzJcGXbUQikctDiTQtaeiLoKqRJL8wXBUcliOg8PWLoukXQ36BSeYpdg4PhOSd9HdSICIP
+adamw@snack]
 uid: 4974
   awjrichards:
 ensure: present

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iac2424b30944c6aee3366ee22f82bdbbc5b1ecec
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] access: grant srijan access to stat1003 via research group - change (operations/puppet)

2015-07-23 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: access: grant srijan access to stat1003 via research group
..

access: grant srijan access to stat1003 via research group

bug: T106407b
Change-Id: If72c7c0532ebb58bc3702318afe9897f1ed078f4
---
M modules/admin/data/data.yaml
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/92/226492/1

diff --git a/modules/admin/data/data.yaml b/modules/admin/data/data.yaml
index ca0a797..4b26c35 100644
--- a/modules/admin/data/data.yaml
+++ b/modules/admin/data/data.yaml
@@ -108,7 +108,7 @@
   nuria, ori, otto, springle, tnegrin, yurik, yuvipanda,
   mforns, jdlrobson, dr0ptp4kt, tgr, marktraceur, jhernandez, joal,
   daisy, tomasz, mholloway-shell, madhuvishy, ebernhardson, 
niedzielski,
-  neilpquinn-wmf, tbayer, jdouglas, moushira, dbrant, maxsem]
+  neilpquinn-wmf, tbayer, jdouglas, moushira, dbrant, maxsem, 
srijan]
   ldap-admins:
 gid: 715
 description: ldap admins

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If72c7c0532ebb58bc3702318afe9897f1ed078f4
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] access: shell account for Srijan Kumar - change (operations/puppet)

2015-07-23 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: access: shell account for Srijan Kumar
..

access: shell account for Srijan Kumar

bug: T106407
Change-Id: Ide2854b507b1138bb965e503e480bd9c6435c360
---
M modules/admin/data/data.yaml
1 file changed, 8 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/91/226491/1

diff --git a/modules/admin/data/data.yaml b/modules/admin/data/data.yaml
index ca0a797..66d9710 100644
--- a/modules/admin/data/data.yaml
+++ b/modules/admin/data/data.yaml
@@ -1494,3 +1494,11 @@
 realname: Trey Jones
 ssh_keys: [ssh-rsa 
B3NzaC1yc2EDAQABAAABAQDFBwfxSdeDwBy5ypWAfsfnmwqJ3R2ks+T9wbnqq30zPyOvZjzequ6vA5JzboCce6OqZ5+mLg3LPQqczlTXbJakWJTjGz7a1Wjhhb6m1/UWWXWjBbSzRwk6Mit77Vq0zlEm06//rFzsukMIMliwmjZcVrIP8Wyb74pABfpM1NvgDXFYjzbbBxY+LugiIk7sl9quDYWUTR6SETnTGOIET7ONZuZfFAHQltyvhUZkLmV9VbNZXxspoWRLyKJZjMkhHvnIeA55IrDBIdJ0VsruFjEn7wvZodjXAjS4xWvIH68vIiXiL3LTCmZjBk0pNEjfpAjvZ5MX8/bgR4ab2/7H6Voj
 tjo...@wikimedia.org]
 uid: 12510
+  srijan:
+ensure: present
+gid: 500
+name: srijan
+realname: Srijan Kumar
+ssh_keys: [ssh-rsa 
B3NzaC1yc2EDAQABAAABAQDe6n6czECv3pzmwxKgfdd9A/XWmoqssk2MByt/Tra4DihPF25EhbcsoyeqosGcgCmkaDXZCQj6BfOh/VHGOUx6nkMf0bFkQrO25n8pdznMBnUfvGNAQUG2tWllA5q1uzmsQD80EqMtsbjr+Yl3HHE5StiqI6O9Ewxcsj2YsDA350ABzulcf4S81M7ej5ZIV/fmbNPJmCCKD3Ke33k3MCNJqCQpSDohKs9tZYKyhobb09n/OUsl+PNKn3VdDTPJMr+h0el8Y3QM1xHW2qbrUPg5qWSFHtLCBFhWlYhtciznhZTvdv7L7sOdwVCZahNNeAK5Cv4nyBHRjo09p7do9MSz
+srijanke...@gmail.com]
+uid: 12423

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ide2854b507b1138bb965e503e480bd9c6435c360
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] access: add dcausse to statistics-privatedata-users - change (operations/puppet)

2015-07-21 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: access: add dcausse to statistics-privatedata-users
..

access: add dcausse to statistics-privatedata-users

bug: T106370
Change-Id: I08840310f37ff4fbabe14c30e03049348d530518
---
M modules/admin/data/data.yaml
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/17/226117/1

diff --git a/modules/admin/data/data.yaml b/modules/admin/data/data.yaml
index 61b78e0..fe01625 100644
--- a/modules/admin/data/data.yaml
+++ b/modules/admin/data/data.yaml
@@ -162,7 +162,7 @@
 members: [handrade, haithams, ezachte, milimetric, dartar, yurik, halfak,
   awight, dr0ptp4kt, tnegrin, nuria,
   leila, manybubbles, ironholds, kleduc, ellery, nettrom, mforns,
-  spage, bmansurov, rmoen, tbayer, joal, ashwinpp, madhuvishy, 
jdouglas]
+  spage, bmansurov, rmoen, tbayer, joal, ashwinpp, madhuvishy, 
jdouglas, dcausse]
   statistics-users:
 gid: 726
 description: Access hosts with a mysql client for research. NO PRIVS.

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I08840310f37ff4fbabe14c30e03049348d530518
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] access: add Trey Jones to statistics-privatedata-users - change (operations/puppet)

2015-07-21 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: access: add Trey Jones to statistics-privatedata-users
..

access: add Trey Jones to statistics-privatedata-users

bug: T106175
Change-Id: Ib47fb9140e68d9d8f6bc92f973d4cd823da30507
---
M modules/admin/data/data.yaml
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/15/226115/1

diff --git a/modules/admin/data/data.yaml b/modules/admin/data/data.yaml
index 61b78e0..f46f4f6 100644
--- a/modules/admin/data/data.yaml
+++ b/modules/admin/data/data.yaml
@@ -162,7 +162,7 @@
 members: [handrade, haithams, ezachte, milimetric, dartar, yurik, halfak,
   awight, dr0ptp4kt, tnegrin, nuria,
   leila, manybubbles, ironholds, kleduc, ellery, nettrom, mforns,
-  spage, bmansurov, rmoen, tbayer, joal, ashwinpp, madhuvishy, 
jdouglas]
+  spage, bmansurov, rmoen, tbayer, joal, ashwinpp, madhuvishy, 
jdouglasi, tjones]
   statistics-users:
 gid: 726
 description: Access hosts with a mysql client for research. NO PRIVS.

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib47fb9140e68d9d8f6bc92f973d4cd823da30507
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] access: shell account for Trey Jones - change (operations/puppet)

2015-07-21 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: access: shell account for Trey Jones
..

access: shell account for Trey Jones

bug: T106175
Change-Id: I5d7aacda04918b0893b906a345c1fd01ce99da11
---
M modules/admin/data/data.yaml
1 file changed, 7 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/77/226077/1

diff --git a/modules/admin/data/data.yaml b/modules/admin/data/data.yaml
index f312a0f..bce005a 100644
--- a/modules/admin/data/data.yaml
+++ b/modules/admin/data/data.yaml
@@ -1486,4 +1486,10 @@
 realname: David Causse
 ssh_keys: [ssh-rsa 
B3NzaC1yc2EDAQABAAABAQC95t2F3S61Za6Y+mZUs4abK95cXm9FedpnUJe2ii3byeFG5QPL9E8+zcZ70o2Mt0NjM5Nitla/Tb+U2BRjk3/YmWEkZxd9crUFRi3IVHjKhEOYhLSSjb2NJdNyWUoUgkQ8DspVDotsnIupdLuHY0Dyh+O4dFI7xnRKIUShm/B//BDCu03PXR4ikYkmtR/+LeKbMh3qSGgvfgv/G4hIiKjyiQt7Md+ROW0YqMp6yAtqIJ+2in1hU3mxy47vfVOFTcL5nNLOLoxJGVSsm0ancVbzrkqruk1o/iFxuz9AzxnX8EAozaNUH7PP3/ybD7ocK7v4SiYpibT2epWPkORgUV7h
 dcausse_prod@dizzy]
 uid: 12338
-
+  tjones:
+ensure: present
+gid: 500
+name: tjones
+realname: Trey Jones
+ssh_keys: [ssh-rsa 
B3NzaC1yc2EDAQABAAABAQDaSUgjRZTi0djdSkKrqxTUXQisq/OCb9ZlXZNJQ69VD6Gup+GlzLxT5MhZrQ6hlf6p/NVvuc9y7zVI09qVYgbpe1L6EJWjyA2CnqLdukq46JDo31EcE1rhfeVqm7eba3X5DWLR3Tu7+tNuI+oC1/VFNnYOXTJOcXn9D27EHR1kANbkli4p82U4V8n23r5q6dZ6EPDLjnq5nG4w476GNAw8+Pf28/jTV3RMpkRdlpHqLJ6922NkMCYBLncJdhP16k14YSGIuOb4jdjLYIs8GOhdeezwBOxf27j/CPwHl27Traeq/7IHRyEczhJKlqEHea1MpkF6o5OVScl8v/3dUrZR
 tjo...@wikimedia.org]
+uid: 12510

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5d7aacda04918b0893b906a345c1fd01ce99da11
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] Fix fdcwiki's wgMetaNamespace to not be Wikipedia - change (operations/mediawiki-config)

2015-07-17 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: Fix fdcwiki's wgMetaNamespace to not be Wikipedia
..

Fix fdcwiki's wgMetaNamespace to not be Wikipedia

bug: T106188
Change-Id: Ica855e4db4133a1d6fffe9b82476dfebd52460e5
---
M wmf-config/InitialiseSettings.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/15/225515/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 3a8ca35..5883688 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -2078,6 +2078,7 @@
'fawikisource' = 'ویکی‌نبشته',
'fawikivoyage' = 'ویکی‌سفر', // T73382
'fawiktionary' = 'ویکی‌واژه',
+   'fdcwiki' = 'Project',
'fiwikibooks' = 'Wikikirjasto',
'fiwikinews' = 'Wikiuutiset',
'fiwikiquote' = 'Wikisitaatit',

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ica855e4db4133a1d6fffe9b82476dfebd52460e5
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] Revert make mw1154 poolcounter - change (operations/mediawiki-config)

2015-07-09 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: Revert make mw1154 poolcounter
..

Revert make mw1154 poolcounter

This reverts commit 3a81449a9c45285a13f88d72c0b2cf07a031a7ef.

Change-Id: Ie2925ca54f840a9c356dfefd27c593ec7e3bbd80
---
M wmf-config/PoolCounterSettings-eqiad.php
1 file changed, 0 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/47/223847/1

diff --git a/wmf-config/PoolCounterSettings-eqiad.php 
b/wmf-config/PoolCounterSettings-eqiad.php
index 38733a8..8aaebe5 100644
--- a/wmf-config/PoolCounterSettings-eqiad.php
+++ b/wmf-config/PoolCounterSettings-eqiad.php
@@ -2,7 +2,6 @@
 
 $wgPoolCountClientConf = array(
'servers' = array(
-   '10.64.16.134',
'10.64.0.179',
'10.64.16.152'
),

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie2925ca54f840a9c356dfefd27c593ec7e3bbd80
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] sysctl: tweak sysctl settings for nf_conntrack - change (operations/puppet)

2015-07-09 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: sysctl: tweak sysctl settings for nf_conntrack
..

sysctl: tweak sysctl settings for nf_conntrack

bug: T105307
Change-Id: I2869ea3059dceb4ccdfc6c500a4809d61c4b5318
---
M modules/base/manifests/sysctl.pp
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/58/223758/1

diff --git a/modules/base/manifests/sysctl.pp b/modules/base/manifests/sysctl.pp
index 3932137..77b4f81 100644
--- a/modules/base/manifests/sysctl.pp
+++ b/modules/base/manifests/sysctl.pp
@@ -59,6 +59,10 @@
 'net.ipv4.tcp_keepalive_time'   = 300,
 'net.ipv4.tcp_keepalive_intvl'  = 1,
 'net.ipv4.tcp_keepalive_probes' = 2,
+
+# Increase nf_conntrack_max, so the table doesn't saturate when
+# enabling firewall - see T105307
+'net.netfilter.nf_conntrack_max' = 262144,
 },
 priority = 60,
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2869ea3059dceb4ccdfc6c500a4809d61c4b5318
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] firewall: add ferm rule for kafka - change (operations/puppet)

2015-07-08 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: firewall: add ferm rule for kafka
..

firewall: add ferm rule for kafka

bug: T83597
Change-Id: Ie64fad431c34f342e8043c7cda1d8a7ff3330e32
---
M manifests/role/analytics/kafka.pp
1 file changed, 7 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/34/223534/1

diff --git a/manifests/role/analytics/kafka.pp 
b/manifests/role/analytics/kafka.pp
index 08f0da7..82181bc 100644
--- a/manifests/role/analytics/kafka.pp
+++ b/manifests/role/analytics/kafka.pp
@@ -268,5 +268,12 @@
 
 # monitor disk statistics
 include role::analytics::monitor_disks
+
+#firewall Kafka Broker
+ferm::service { 'kafka-server':
+proto  = 'tcp',
+port   = '9092',
+srange = '$ALL_NETWORKS',
+}
 }
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie64fad431c34f342e8043c7cda1d8a7ff3330e32
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] poolcounter: don't track connections on the firewall - change (operations/puppet)

2015-07-08 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: poolcounter: don't track connections on the firewall
..

poolcounter: don't track connections on the firewall

Change-Id: I18621798d1ad9b13b7dc05cbcbea67011f4564cd
---
M manifests/role/poolcounter.pp
1 file changed, 16 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/40/223540/1

diff --git a/manifests/role/poolcounter.pp b/manifests/role/poolcounter.pp
index d2a19c4..28755be 100644
--- a/manifests/role/poolcounter.pp
+++ b/manifests/role/poolcounter.pp
@@ -23,4 +23,20 @@
 port   = '7531',
 srange = '$ALL_NETWORKS',
 }
+
+ferm::rule { 'skip_poolcounter_conntrack-out':
+desc  = 'Skip poolcounter outgoing connection tracking',
+table = 'raw',
+chain = 'OUTPUT',
+rule  = 'proto tcp sport 7531 NOTRACK;',
+}
+
+ferm::rule { 'skip_poolcounter_conntrack-in':
+desc  = 'Skip poolcounter incoming connection tracking',
+table = 'raw',
+chain = 'PREROUTING',
+rule  = 'proto tcp sport 7531 NOTRACK;',
+}
+
+
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I18621798d1ad9b13b7dc05cbcbea67011f4564cd
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] monitoring: detect saturation of nf_conntrack table - change (operations/puppet)

2015-07-08 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: monitoring: detect saturation of nf_conntrack table
..

monitoring: detect saturation of nf_conntrack table

bug: T105154
Change-Id: Idf21587618d76dc0fb685f17320c4004cd37c05c
---
A modules/base/files/firewall/check_conntrack.py
M modules/base/manifests/firewall.pp
M modules/nagios_common/files/checkcommands.cfg
3 files changed, 54 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/60/223560/1

diff --git a/modules/base/files/firewall/check_conntrack.py 
b/modules/base/files/firewall/check_conntrack.py
new file mode 100644
index 000..fe86fc5
--- /dev/null
+++ b/modules/base/files/firewall/check_conntrack.py
@@ -0,0 +1,34 @@
+#!/usr/bin/python
+import string
+
+def _get_sysctl(self, name):
+
+path = '/proc/sys/' + name.translate(string.maketrans('.', '/'))
+
+try:
+with open(path) as f:
+value = f.read().rstrip('\n')
+return value
+
+except IOError:
+return None
+
+def collect(self):
+
+max_value = self._get_sysctl('net.netfilter.nf_conntrack_max')
+if max_value is not None and max_value  0:
+count_value = self._get_sysctl('net.netfilter.nf_conntrack_count')
+full = count_value/max_value*100
+if int(full) = 80 and = 90:
+print Warning: nf_conntrack is %s % full % (full)
+sys.exit(1)
+elif int(full) = 90:
+print Critical: nf_conntrack is %s % full % (full)
+sys.exit(2)
+elif int(full)  80:
+print OK: nf_conntrack is %s % full % (full)
+sys.exit(0)
+else:
+print UNKNOWN: error reading nf_conntrack
+sys.exit(3)
+
diff --git a/modules/base/manifests/firewall.pp 
b/modules/base/manifests/firewall.pp
index 561a061..68f3fbf 100644
--- a/modules/base/manifests/firewall.pp
+++ b/modules/base/manifests/firewall.pp
@@ -31,4 +31,17 @@
 ensure = $ensure,
 rule   = 'saddr $MONITORING_HOSTS ACCEPT;',
 }
-}
\ No newline at end of file
+
+file { '/usr/lib/nagios/plugins/check_conntrack':
+source = 'puppet:///modules/base/firewall/check_conntrack.py',
+mode   = '0755',
+}
+
+nrpe::monitor_service { 'conntrack_table_size':
+ensure= 'present',
+description   = 'Check size of conntrack table',
+nrpe_command  = '/usr/lib/nagios/plugins/check_conntrack',
+require   = File['/usr/lib/nagios/plugins/check_conntrack'],
+contact_group = 'admins',
+}
+}
diff --git a/modules/nagios_common/files/checkcommands.cfg 
b/modules/nagios_common/files/checkcommands.cfg
index 866f949..44b16f5 100644
--- a/modules/nagios_common/files/checkcommands.cfg
+++ b/modules/nagios_common/files/checkcommands.cfg
@@ -482,3 +482,9 @@
 command_namecheck_http_zotero_lvs_on_port
 command_line$USER1$/check_http -I $HOSTADDRESS$ -H $ARG1$ -p $ARG2$ -P 
'[{itemType:journalArticle}]' -T 'application/json' -u $ARG3$
 }
+
+define command {
+command_namenrpe_check_conntrack
+command_line$USER1$/check_nrpe -H $HOSTADDRESS$ -c check_conntrack
+}
+

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idf21587618d76dc0fb685f17320c4004cd37c05c
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] add soundcloud to wgCopyUploadsDomains - change (operations/mediawiki-config)

2015-07-08 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: add soundcloud to wgCopyUploadsDomains
..

add soundcloud to wgCopyUploadsDomains

bug: T105052
Change-Id: Idf789d51decc66bc58a7a1546fae453b98324802
---
M wmf-config/InitialiseSettings.php
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/16/223516/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 0c0d4b9..3d8f826 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -11467,6 +11467,8 @@
'*.dvidshub.net',   // Defense Video and 
Imagery Distribution System - T103062
'*.ub.unibas.ch',   // Universität Basel - 
T104178
'*.unibas.ch',  // Universität Basel - 
T104178
+'soundcloud.com',   // soundcloud - T105052
+'cf-media.sndcdn.com'   // soundcloud cdn - T105052
),
 ),
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idf789d51decc66bc58a7a1546fae453b98324802
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] upload: add pdf as an allowed file type - change (pywikibot/core)

2015-07-06 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: upload: add pdf as an allowed file type
..

upload: add pdf as an allowed file type

Change-Id: I9cc6d692818700ab807c12efdd862101260e8d30
---
M scripts/upload.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/21/223021/1

diff --git a/scripts/upload.py b/scripts/upload.py
index b7ea3fa..702e34d 100755
--- a/scripts/upload.py
+++ b/scripts/upload.py
@@ -227,7 +227,7 @@
 allowed_formats = (u'gif', u'jpg', u'jpeg', u'mid', u'midi',
u'ogg', u'png', u'svg', u'xcf', u'djvu',
u'ogv', u'oga', u'tif', u'tiff', u'webm',
-   u'flac', u'wav')
+   u'flac', u'wav', u'pdf')
 # ask until it's valid
 first_check = True
 while True:

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9cc6d692818700ab807c12efdd862101260e8d30
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] access: grant David Causse deployment rights - change (operations/puppet)

2015-07-02 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: access: grant David Causse deployment rights
..

access: grant David Causse deployment rights

bug: T104546
Change-Id: I04666b5ddbe894c0be3a205e9be63aeba281e07c
---
M modules/admin/data/data.yaml
1 file changed, 1 insertion(+), 1 deletion(-)


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

diff --git a/modules/admin/data/data.yaml b/modules/admin/data/data.yaml
index e77c5e4..7861314 100644
--- a/modules/admin/data/data.yaml
+++ b/modules/admin/data/data.yaml
@@ -47,7 +47,7 @@
   maxsem, mattflaschen, marktraceur, milimetric, mlitn, andyrussg,
   nikerabbit, reedy, rmoen, robla, spage, ssastry, tomasz, yurik,
   tgr, phuedx, bsimmers, ejegg, twentyafterfour, legoktm, catrope, 
krenair,
-  mobrovac, nuria, thcipriani, joal, eevans, mforns, dpatrick]
+  mobrovac, nuria, thcipriani, joal, eevans, mforns, dpatrick, 
dcausse]
 privileges: ['ALL = (www-data,apache,mwdeploy,l10nupdate) NOPASSWD: ALL',
  'ALL = NOPASSWD: /sbin/restart hhvm',
  'ALL = NOPASSWD: /sbin/start hhvm',

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I04666b5ddbe894c0be3a205e9be63aeba281e07c
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] access: add DCausse shell account - change (operations/puppet)

2015-06-30 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: access: add DCausse shell account
..

access: add DCausse shell account

bug: T104222
Change-Id: I419e2508c262423bab84b504215bb960d2cc6ad6
---
M modules/admin/data/data.yaml
1 file changed, 8 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/67/221967/1

diff --git a/modules/admin/data/data.yaml b/modules/admin/data/data.yaml
index d916da0..76ae922 100644
--- a/modules/admin/data/data.yaml
+++ b/modules/admin/data/data.yaml
@@ -1465,3 +1465,11 @@
 realname: Darian Anthony Patrick
 ssh_keys: [ssh-rsa 
B3NzaC1yc2EDAQABAAABAQC3dtG8+VT7ldgcssl6OFgWbZThbShLay2LufVhVCmXEyOzoBGV3miwhyN1WGodp7aJ53txKPMDeakcyS9NtGL17avwJ/BccQrqxK8htqHvNJJOvvH8wrVSQpa0VwZ4MdGQXs+EJ9rTfb4ZWbi9uhg5DVSe/l6aeUR0w70rBvRjJS4XudJo71tvM8nqcYbusutkeJN97LLPBPCKq6mrhu1p80Lc3ZK3IYnyHceDxYDyfvbWVBfNDKEbRD64ogDvaG3tmMF1Fl0AL6Bujf1MOxlm8iykbog5kCFh74gECJ6B4OBLQ6i/sZ4U4uJa2Ucj4BRR7B8xX6RFGcfS03+m7KFN
 dpatrick_prod]
 uid: 12203
+  dcausse:
+ensure: present
+gid: 500
+name: dcausse
+realname: David Causse
+ssh_keys: [ssh-rsa 
B3NzaC1yc2EDAQABAAABAQC95t2F3S61Za6Y+mZUs4abK95cXm9FedpnUJe2ii3byeFG5QPL9E8+zcZ70o2Mt0NjM5Nitla/Tb+U2BRjk3/YmWEkZxd9crUFRi3IVHjKhEOYhLSSjb2NJdNyWUoUgkQ8DspVDotsnIupdLuHY0Dyh+O4dFI7xnRKIUShm/B//BDCu03PXR4ikYkmtR/+LeKbMh3qSGgvfgv/G4hIiKjyiQt7Md+ROW0YqMp6yAtqIJ+2in1hU3mxy47vfVOFTcL5nNLOLoxJGVSsm0ancVbzrkqruk1o/iFxuz9AzxnX8EAozaNUH7PP3/ybD7ocK7v4SiYpibT2epWPkORgUV7h
 dcausse_prod@dizzy]
+uid: 12338
+

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I419e2508c262423bab84b504215bb960d2cc6ad6
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] access: Grant dcausse root on the search cluster - change (operations/puppet)

2015-06-30 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: access: Grant dcausse root on the search cluster
..

access: Grant dcausse root on the search cluster

bug: T104222
Change-Id: Icbc10021d24205401edec20641ecad43c106d988
---
M modules/admin/data/data.yaml
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/68/221968/1

diff --git a/modules/admin/data/data.yaml b/modules/admin/data/data.yaml
index d916da0..d724f0c 100644
--- a/modules/admin/data/data.yaml
+++ b/modules/admin/data/data.yaml
@@ -80,7 +80,7 @@
   elasticsearch-roots:
 gid: 709
 description: manage elasticsearch nodes
-members: [manybubbles, demon, jdouglas, ebernhardson]
+members: [manybubbles, demon, jdouglas, ebernhardson, dcausse]
 privileges: ['ALL = (ALL) NOPASSWD: ALL']
   dataset-admins:
 gid: 710

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icbc10021d24205401edec20641ecad43c106d988
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] add unibas.ch to wgCopyUploadsDomains - change (operations/mediawiki-config)

2015-06-29 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: add unibas.ch to wgCopyUploadsDomains
..

add unibas.ch to wgCopyUploadsDomains

bug: T104178
Change-Id: Ief4b60648e9d54dae909e65640f309bcabc06e20
---
M wmf-config/InitialiseSettings.php
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/00/221600/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 7cf1076..1a34f2f 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -11458,6 +11458,8 @@
'*.bl.uk',  // British Library - T98734
'www.limis.lt', // Lithuanian Art Museum - 
T101513
'*.dvidshub.net',   // Defense Video and 
Imagery Distribution System - T103062
+   '*.ub.unibas.ch',   // 
unibas.ch - T104178
+   '*.unibas.ch',  // 
unibas.ch - T104178
),
 ),
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ief4b60648e9d54dae909e65640f309bcabc06e20
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] access: remove qchris from all groups except gerrit-admin an... - change (operations/puppet)

2015-06-29 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: access: remove qchris from all groups except gerrit-admin and 
bastiononly
..

access: remove qchris from all groups except gerrit-admin and bastiononly

bug: T104254
Change-Id: I093339b73ca51714ee03ef78f746aa4f978e2df3
---
M modules/admin/data/data.yaml
1 file changed, 12 insertions(+), 13 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/86/221786/1

diff --git a/modules/admin/data/data.yaml b/modules/admin/data/data.yaml
index 2bba7d0..997d678 100644
--- a/modules/admin/data/data.yaml
+++ b/modules/admin/data/data.yaml
@@ -46,7 +46,7 @@
   gjg, gwicke, halfak, hashar, hoo, kaldari, kartik, khorn, 
krinkle, manybubbles,
   maxsem, mattflaschen, marktraceur, milimetric, mlitn, andyrussg,
   nikerabbit, reedy, rmoen, robla, spage, ssastry, tomasz, yurik,
-  tgr, phuedx, bsimmers, ejegg, twentyafterfour, legoktm, catrope, 
qchris, krenair,
+  tgr, phuedx, bsimmers, ejegg, twentyafterfour, legoktm, catrope, 
krenair,
   mobrovac, nuria, thcipriani, joal, eevans, mforns, dpatrick]
 privileges: ['ALL = (www-data,apache,mwdeploy,l10nupdate) NOPASSWD: ALL',
  'ALL = NOPASSWD: /sbin/restart hhvm',
@@ -59,9 +59,8 @@
 description: access to terbium, fluorine (private data) and bastion hosts
  restricted folks use sudo to access apache / www-data 
resources
 members: [daniel, dartar,
-  ezachte, hoo, jamesur, jdlrobson, khorn, qchris,
-  tparscal, tnegrin, ssastry, ironholds, nuria, leila,
-  santhosh, amire80, legoktm, jsahleen]
+  ezachte, hoo, jamesur, jdlrobson, khorn, tparscal, tnegrin, 
ssastry,
+  ironholds, nuria, leila, santhosh, amire80, legoktm, jsahleen]
 privileges: ['ALL = (www-data,apache) NOPASSWD: ALL']
   bastiononly:
 gid: 707
@@ -72,7 +71,7 @@
   bmansurov, west1, jhernandez, smalyshev, ananthrk, tbayer, 
zfilipin,
   joal, thcipriani, daisy, ashwinpp, mvolz, jhobs, tomasz, 
lpintscher,
   pcoombe, mholloway-shell, madhuvishy, niedzielski, 
neilpquinn-wmf,
-  gpaumier, moushira, aklapper]
+  gpaumier, moushira, aklapper, qchris]
   cassandra-test-roots:
 gid: 708
 description: users with root on cassandra hosts
@@ -106,7 +105,7 @@
   dduvall, ellery, ezachte, gage, gilles, haithams, halfak, 
handrade,
   ironholds, jforrester, jkatz, jmorgan, jzerebecki, kaldari,
   kleduc, leila, mattflaschen, milimetric, nettrom,
-  nuria, ori, otto, qchris, springle, tnegrin, yurik, yuvipanda,
+  nuria, ori, otto, springle, tnegrin, yurik, yuvipanda,
   mforns, jdlrobson, dr0ptp4kt, tgr, marktraceur, jhernandez, joal,
   daisy, tomasz, mholloway-shell, madhuvishy, ebernhardson, 
niedzielski,
   neilpquinn-wmf, tbayer, jdouglas, moushira, dbrant]
@@ -155,13 +154,13 @@
   statistics-web-users:
 gid: 724
 description: access for stats.wikimedia.org
-members: [ezachte, joal, milimetric, qchris, tomasz, tnegrin]
+members: [ezachte, joal, milimetric, tomasz, tnegrin]
   statistics-privatedata-users:
 gid: 725
 description: Have access to so that they can do analysis on webrequest logs
 and other private data.
 members: [handrade, haithams, ezachte, milimetric, dartar, yurik, halfak,
-  awight, dr0ptp4kt, qchris, tnegrin, nuria,
+  awight, dr0ptp4kt, tnegrin, nuria,
   leila, manybubbles, ironholds, kleduc, ellery, nettrom, mforns,
   spage, bmansurov, rmoen, tbayer, joal, ashwinpp, madhuvishy]
   statistics-users:
@@ -169,7 +168,7 @@
 description: Access hosts with a mysql client for research. NO PRIVS.
 members: [dartar, halfak, ironholds, jdlrobson, jmorgan,
   mattflaschen, mhurd, yurik, awight, jforrester,
-  qchris, tnegrin, marktraceur, msyed, nuria, leila, gilles, 
haithams,
+  tnegrin, marktraceur, msyed, nuria, leila, gilles, haithams,
   dbrant, tgr, haithams, handrade, dr0ptp4kt, brion, bsitzmann,
   deskana, jzerebecki, dduvall, nettrom, mforns, jkatz, 
ebernhardson,
   mlitn, tbayer, ananthrk, joal, tomasz, kartik, nikerabbit, 
pcoombe, madhuvishy,
@@ -177,7 +176,7 @@
   statistics-admins:
 posix_name: stats
 description: access files created by stats user cron jobs
-members: [ezachte, ironholds, qchris, milimetric, joal, mforns]
+members: [ezachte, ironholds, milimetric, joal, mforns]
 privileges: ['ALL = (stats) NOPASSWD: ALL']
   oit:
 gid: 727
@@ -212,7 +211,7 @@
  Hadoop NameNodes.  Some files in HDFS have sensitive data in 
them.
 

[MediaWiki-commits] [Gerrit] access: grant niedzielski access to stat1002 - change (operations/puppet)

2015-06-25 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: access: grant niedzielski access to stat1002
..

access: grant niedzielski access to stat1002

Change-Id: I71132beef50bc23e5b4b497b902611aea24fb2e6
---
M modules/admin/data/data.yaml
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/89/220989/1

diff --git a/modules/admin/data/data.yaml b/modules/admin/data/data.yaml
index 49cebcc..6c35f93 100644
--- a/modules/admin/data/data.yaml
+++ b/modules/admin/data/data.yaml
@@ -216,7 +216,7 @@
   bsitzmann, dbrant, declerambaul, ellery, nettrom, leila,
   ezachte, mforns, reedy, west1, phuedx, ananthrk, awight,
   joal, jamesur, akosiaris, jhobs, lpintscher, jkatz, madhuvishy, 
gpaumier,
-  andyrussg]
+  andyrussg, niedzielski]
   analytics-admins:
 gid: 732
 description: Admin access to analytics cluster.

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I71132beef50bc23e5b4b497b902611aea24fb2e6
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] access: grant Jdouglas access toanalytics-privatedata-users ... - change (operations/puppet)

2015-06-25 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: access: grant Jdouglas access toanalytics-privatedata-users 
group
..

access: grant Jdouglas access toanalytics-privatedata-users group

bug: T103872
Change-Id: Ia691aeb807d4333660f50f4367340aedcf64c861
---
M modules/admin/data/data.yaml
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/90/220990/1

diff --git a/modules/admin/data/data.yaml b/modules/admin/data/data.yaml
index 49cebcc..03fdf51 100644
--- a/modules/admin/data/data.yaml
+++ b/modules/admin/data/data.yaml
@@ -162,7 +162,7 @@
 members: [handrade, haithams, ezachte, milimetric, dartar, yurik, halfak,
   howief, awight, dr0ptp4kt, qchris, tnegrin, nuria,
   leila, manybubbles, ironholds, kleduc, ellery, nettrom, mforns,
-  spage, bmansurov, rmoen, tbayer, joal, ashwinpp, madhuvishy]
+  spage, bmansurov, rmoen, tbayer, joal, ashwinpp, madhuvishy, 
jdouglas]
   statistics-users:
 gid: 726
 description: Access hosts with a mysql client for research. NO PRIVS.

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia691aeb807d4333660f50f4367340aedcf64c861
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] access: Grant Ellery Wulczyn @ellery access to terbium via t... - change (operations/puppet)

2015-06-25 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: access: Grant Ellery Wulczyn @ellery access to terbium via the 
restricted group
..

access: Grant Ellery Wulczyn @ellery access to terbium via the restricted group

bug: T103782
Change-Id: I3c31e5d6c79bfb5edde8c43799cf9bfd5a82c266
---
M modules/admin/data/data.yaml
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/06/221006/1

diff --git a/modules/admin/data/data.yaml b/modules/admin/data/data.yaml
index 49cebcc..5a9a081 100644
--- a/modules/admin/data/data.yaml
+++ b/modules/admin/data/data.yaml
@@ -60,7 +60,7 @@
 members: [avar, daniel, dartar, diederik,
   ezachte, hoo, jamesur, jdlrobson, khorn, qchris,
   tparscal, tnegrin, ssastry, ironholds, nuria, leila,
-  santhosh, amire80, legoktm, jsahleen]
+  santhosh, amire80, legoktm, jsahleen, ellery]
 privileges: ['ALL = (www-data,apache) NOPASSWD: ALL']
   bastiononly:
 gid: 707

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3c31e5d6c79bfb5edde8c43799cf9bfd5a82c266
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] access: adding Ellery Wulczyn to user with prod access - change (operations/puppet)

2015-06-25 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: access: adding Ellery Wulczyn to user with prod access
..

access: adding Ellery Wulczyn to user with prod access

bug: T103782
Change-Id: I48c579168ff0774f1d2e38d1608db5ce90af1ed8
---
M modules/admin/data/data.yaml
1 file changed, 8 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/04/221004/1

diff --git a/modules/admin/data/data.yaml b/modules/admin/data/data.yaml
index 49cebcc..f708327 100644
--- a/modules/admin/data/data.yaml
+++ b/modules/admin/data/data.yaml
@@ -1469,3 +1469,11 @@
 realname: Darian Anthony Patrick
 ssh_keys: [ssh-rsa 
B3NzaC1yc2EDAQABAAABAQC3dtG8+VT7ldgcssl6OFgWbZThbShLay2LufVhVCmXEyOzoBGV3miwhyN1WGodp7aJ53txKPMDeakcyS9NtGL17avwJ/BccQrqxK8htqHvNJJOvvH8wrVSQpa0VwZ4MdGQXs+EJ9rTfb4ZWbi9uhg5DVSe/l6aeUR0w70rBvRjJS4XudJo71tvM8nqcYbusutkeJN97LLPBPCKq6mrhu1p80Lc3ZK3IYnyHceDxYDyfvbWVBfNDKEbRD64ogDvaG3tmMF1Fl0AL6Bujf1MOxlm8iykbog5kCFh74gECJ6B4OBLQ6i/sZ4U4uJa2Ucj4BRR7B8xX6RFGcfS03+m7KFN
 dpatrick_prod]
 uid: 12203
+  ellery:
+ensure: present
+gid: 500
+name: ellery
+realname: Ellery Wulczyn
+ssh_keys: [ssh-rsa
+B3NzaC1yc2EDAQABAAABAQDCKFGOn5NPv0el5EtWWwffENDgrt8GKzXTUdhOOWOBemPc98MGEMkKoeAY3RAZW1xbJo+b+ZDTDORVWw3A5Lw6b8Es/fBnJR2rfChKOwj7VzeMLyIFzjgkzI+UekgfWcCsEk24ic6aJAAFLvhVV6Ib9vg1l8p+ZJFL+5+54XMt0MphZtN2w3pgv/SccJzF/kodPyu7N7jRmzweOosH7dY20cSXbnkoz8jCDs6HeLTvLErLsjYWUtwnzjhDp4lBvvZVpzkMXpp/Ju44ksypgyfzEBa/+iP1QQpls6KqRMb6wD56Z8E5BFm2s/nbff3BP3Hk7dsTLJPXYGZw48pWMwWD
 ellerywulc...@administorsair4.corp.wikimedia.org]
+uid: 10517

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I48c579168ff0774f1d2e38d1608db5ce90af1ed8
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] add dvidshub to whitelist upload URLs - change (operations/mediawiki-config)

2015-06-20 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: add dvidshub to whitelist upload URLs
..

add dvidshub to whitelist upload URLs

Change-Id: If12c0d5d75832385628896f4a78e76458a9eac5a
---
M wmf-config/InitialiseSettings.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/99/219599/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index b703bba..4032742 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -11451,6 +11451,7 @@
'*.sl.nsw.gov.au',  // New South Wales State 
Library - T98744
'*.bl.uk',  // British Library - T98734
'www.limis.lt', // Lithuanian Art Museum - 
T101513
+   '*.dvidshub.net',   // Defense Video and 
Imagery Distribution System - T103062
),
 ),
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If12c0d5d75832385628896f4a78e76458a9eac5a
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] statsdlb: minor lint - change (operations/puppet)

2015-06-18 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: statsdlb: minor lint
..

statsdlb: minor lint

Change-Id: I87655e349ec0171f3ac197dac325b5a1f8d65581
---
M modules/statsdlb/manifests/init.pp
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/87/219187/1

diff --git a/modules/statsdlb/manifests/init.pp 
b/modules/statsdlb/manifests/init.pp
index 624db23..081863c 100644
--- a/modules/statsdlb/manifests/init.pp
+++ b/modules/statsdlb/manifests/init.pp
@@ -29,7 +29,7 @@
 ) {
 validate_ensure($ensure)
 validate_array($backend_ports)
-validate_re(${backend_ports}, '^\d+(\s\d+)*$', '$backend_ports must be 
an array of port numbers')
+validate_re($backend_ports, '^\d+(\s\d+)*$', '$backend_ports must be an 
array of port numbers')
 validate_re($server_port, '^\d+$', '$server_port must be a port number')
 
 package { 'statsdlb':

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I87655e349ec0171f3ac197dac325b5a1f8d65581
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] nova: fix string containing only a variable - change (operations/puppet)

2015-06-18 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: nova: fix string containing only a variable
..

nova: fix string containing only a variable

Change-Id: Ie9018a84240ecc0168dd6433cef2642be6e23546
---
M modules/openstack/manifests/nova/compute.pp
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/89/219189/1

diff --git a/modules/openstack/manifests/nova/compute.pp 
b/modules/openstack/manifests/nova/compute.pp
index 0ac7b9e..d73c914 100644
--- a/modules/openstack/manifests/nova/compute.pp
+++ b/modules/openstack/manifests/nova/compute.pp
@@ -12,7 +12,7 @@
 $certname = virt-star.${site}.wmnet
 $ca_target = '/etc/ssl/certs/wmf_ca_2014_2017.pem'
 }
-install_certificate{ ${certname}: }
+install_certificate{ $certname: }
 
 file { /var/lib/nova/${certname}.key:
 owner   = 'nova',
@@ -28,12 +28,12 @@
 file { '/var/lib/nova/clientcert.pem':
 ensure  = link,
 target  = /etc/ssl/localcerts/${certname}.crt,
-require = Install_certificate[${certname}],
+require = Install_certificate[$certname],
 }
 file { '/var/lib/nova/cacert.pem':
 ensure  = link,
 target  = $ca_target,
-require = Install_certificate[${certname}],
+require = Install_certificate[$certname],
 }
 file { '/var/lib/nova/.ssh':
 ensure  = directory,

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie9018a84240ecc0168dd6433cef2642be6e23546
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] jobchron: log rotate - change (operations/puppet)

2015-06-17 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: jobchron: log rotate
..

jobchron: log rotate

bug: T96132
Change-Id: I86e8a8207e6eda1d50fc0ef4b143bcf4b3e2d6cb
---
A modules/mediawiki/files/logrotate.d_mediawiki_jobchron
M modules/mediawiki/manifests/jobrunner.pp
2 files changed, 20 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/05/218905/1

diff --git a/modules/mediawiki/files/logrotate.d_mediawiki_jobchron 
b/modules/mediawiki/files/logrotate.d_mediawiki_jobchron
new file mode 100644
index 000..96d2b64
--- /dev/null
+++ b/modules/mediawiki/files/logrotate.d_mediawiki_jobchron
@@ -0,0 +1,13 @@
+# logrotate config for MediaWiki job queue chron loop logs
+# This file is managed by Puppet
+/var/log/mediawiki/jobchron.log {
+daily
+missingok
+rotate 7
+compress
+notifempty
+nocreate
+postrotate
+/sbin/restart jobchron  /dev/null 21
+endscript
+}
diff --git a/modules/mediawiki/manifests/jobrunner.pp 
b/modules/mediawiki/manifests/jobrunner.pp
index 7c7427d..6026a4d 100644
--- a/modules/mediawiki/manifests/jobrunner.pp
+++ b/modules/mediawiki/manifests/jobrunner.pp
@@ -49,6 +49,13 @@
 notify = Service['jobchron'],
 }
 
+file { '/etc/logrotate.d/mediawiki_jobchron':
+source  = 
'puppet:///modules/mediawiki/logrotate.d_mediawiki_jobchron',
+owner   = 'root',
+group   = 'root',
+mode= '0444',
+}
+
 file { '/etc/jobrunner':
 ensure = directory,
 owner  = 'root',

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I86e8a8207e6eda1d50fc0ef4b143bcf4b3e2d6cb
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] monitoring: Remove alerts for 0 unmerged changes - change (operations/puppet)

2015-06-15 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: monitoring: Remove alerts for 0 unmerged changes
..

monitoring: Remove alerts for 0 unmerged changes

bug: T99001
Change-Id: I079c3d941f17061b06e1dcd376e78c0e2a2e0342
---
M modules/monitoring/templates/check_git-needs-merge.erb
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/15/218315/1

diff --git a/modules/monitoring/templates/check_git-needs-merge.erb 
b/modules/monitoring/templates/check_git-needs-merge.erb
index d34a687..742f8d7 100755
--- a/modules/monitoring/templates/check_git-needs-merge.erb
+++ b/modules/monitoring/templates/check_git-needs-merge.erb
@@ -20,6 +20,9 @@
 outstanding=$(git log HEAD..${refname} --oneline | wc -l)
 if [ $outstanding -eq 1 ]; then
 msg_start=There is one unmerged change
+elif [ $outstanding -eq 0]; then
+echo No changes to merge.
+exit 0
 else
 msg_start=There are ${outstanding} unmerged changes
 fi;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I079c3d941f17061b06e1dcd376e78c0e2a2e0342
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] access: give AndyRussG access to analytics-privatedata-users - change (operations/puppet)

2015-06-15 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: access: give AndyRussG access to analytics-privatedata-users
..

access: give AndyRussG access to analytics-privatedata-users

bug: T101443
Change-Id: I00d2af2636107ad8619a2ad95a1878339e78d490
---
M modules/admin/data/data.yaml
1 file changed, 1 insertion(+), 1 deletion(-)


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

diff --git a/modules/admin/data/data.yaml b/modules/admin/data/data.yaml
index 9835317..f6e08b3 100644
--- a/modules/admin/data/data.yaml
+++ b/modules/admin/data/data.yaml
@@ -162,7 +162,7 @@
 members: [handrade, haithams, ezachte, milimetric, dartar, yurik, halfak,
   howief, awight, dr0ptp4kt, qchris, tnegrin, nuria,
   leila, manybubbles, ironholds, kleduc, ellery, nettrom, mforns,
-  spage, bmansurov, rmoen, tbayer, joal, ashwinpp, madhuvishy]
+  spage, bmansurov, rmoen, tbayer, joal, ashwinpp, madhuvishy, 
andyrussg]
   statistics-users:
 gid: 726
 description: Access hosts with a mysql client for research. NO PRIVS.

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I00d2af2636107ad8619a2ad95a1878339e78d490
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] access: add Marcel Ruiz Forns to statistics-admins - change (operations/puppet)

2015-06-15 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: access: add Marcel Ruiz Forns to statistics-admins
..

access: add Marcel Ruiz Forns to statistics-admins

DON'T MERGE BEFORE APPROVAL
bug: T102232

Change-Id: Ib077d3c923e5f762fc529efae889e014a84a2733
---
M modules/admin/data/data.yaml
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/05/218305/1

diff --git a/modules/admin/data/data.yaml b/modules/admin/data/data.yaml
index 9835317..7a44856 100644
--- a/modules/admin/data/data.yaml
+++ b/modules/admin/data/data.yaml
@@ -176,7 +176,7 @@
   statistics-admins:
 posix_name: stats
 description: access files created by stats user cron jobs
-members: [ezachte, ironholds, qchris, milimetric, joal]
+members: [ezachte, ironholds, qchris, milimetric, joal, mforns]
 privileges: ['ALL = (stats) NOPASSWD: ALL']
   oit:
 gid: 727

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib077d3c923e5f762fc529efae889e014a84a2733
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] tendril: fix https links - change (operations...tendril)

2015-06-15 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: tendril: fix https links
..

tendril: fix https links

bug: T98710
Change-Id: I99d392d346dce87317139704adca8580edee070d
---
M tpl/host/list.php
M tpl/host/view.php
M tpl/page.php
3 files changed, 5 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/software/tendril 
refs/changes/25/218325/1

diff --git a/tpl/host/list.php b/tpl/host/list.php
index db1a893..e89e16d 100644
--- a/tpl/host/list.php
+++ b/tpl/host/list.php
@@ -22,7 +22,7 @@
 /td
 td
 nav
-a 
href=http://ganglia.wikimedia.org/latest/?r=daycs=ce=m=cpu_reports=by+namec=MySQL+eqiadh=host_regex=max_graphs=0tab=mvn=hide-hf=falsesh=1z=smallhc=4;ganglia/a
+a 
href=https://ganglia.wikimedia.org/latest/?r=daycs=ce=m=cpu_reports=by+namec=MySQL+eqiadh=host_regex=max_graphs=0tab=mvn=hide-hf=falsesh=1z=smallhc=4;ganglia/a
 /nav
 /td
 /tr
@@ -30,4 +30,4 @@
 /form
 
 
-?php include 'table.php'; ?
\ No newline at end of file
+?php include 'table.php'; ?
diff --git a/tpl/host/view.php b/tpl/host/view.php
index f3d7b7b..7bcbcf0 100644
--- a/tpl/host/view.php
+++ b/tpl/host/view.php
@@ -50,7 +50,7 @@
 
 div id=graphs-blurb
 nav style=display: inline-block;
-a 
href=http://ganglia.wikimedia.org/latest/?r=hourtab=chhreg[]=^?= 
$host-name_short() ?ganglia/a
+a 
href=https://ganglia.wikimedia.org/latest/?r=hourtab=chhreg[]=^?= 
$host-name_short() ?ganglia/a
 a 
href=https://icinga.wikimedia.org/cgi-bin/icinga/status.cgi?host=?= 
$host-name_short() ?nostatusheadericinga/a
 /nav
 /div
diff --git a/tpl/page.php b/tpl/page.php
index d008500..2dded97 100644
--- a/tpl/page.php
+++ b/tpl/page.php
@@ -8,7 +8,7 @@
 script type=text/javascript src=https://www.google.com/jsapi;/script
 script type=text/javascript 
src='https://www.google.com/jsapi?autoload={modules:[{name:visualization,version:1,packages:[corechart,table,orgchart]}]}'/script
 link href=/normalize.css rel=stylesheet type=text/css /
-link 
href='http://fonts.googleapis.com/css?family=Droid+Serif:400,700|Droid+Sans:400,700'
 rel='stylesheet' type='text/css'
+link 
href='https://fonts.googleapis.com/css?family=Droid+Serif:400,700|Droid+Sans:400,700'
 rel='stylesheet' type='text/css'
 ?= pkg()-head() ?
 style
 
@@ -266,4 +266,4 @@
 /footer
 
 /body
-/html
\ No newline at end of file
+/html

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I99d392d346dce87317139704adca8580edee070d
Gerrit-PatchSet: 1
Gerrit-Project: operations/software/tendril
Gerrit-Branch: master
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] templateeditor: add group to hewiki and allow crat's to grant - change (operations/mediawiki-config)

2015-06-15 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: templateeditor: add group to hewiki and allow crat's to grant
..

templateeditor: add group to hewiki and allow crat's to grant

bug: T102466
Change-Id: I64284f4e72a609b026ec2828db8a83317b71baf9
---
M wmf-config/InitialiseSettings.php
1 file changed, 4 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/26/218426/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index e14a88f..1d1f9fb 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -4188,7 +4188,7 @@
'ckbwiki' = array( '', 'autoconfirmed', 'autopatrol', 'sysop', 
'superprotect' ), // Bug T54533
'dewiki' = array( '', 'autoconfirmed', 'editeditorprotected', 'sysop', 
'superprotect' ), // T94368
'enwiki' = array( '', 'autoconfirmed', 'templateeditor', 'sysop', 
'superprotect' ), // Bug T57432
-   'hewiki' = array( '', 'autoconfirmed', 'autopatrol', 'sysop', 
'superprotect' ), //Bug T60207
+   'hewiki' = array( '', 'autoconfirmed', 'autopatrol', 'templateeditor', 
'sysop', 'superprotect' ), //Bug T60207
'huwiki' = array( '', 'autoconfirmed', 'templateeditor', 'sysop', 
'superprotect' ), // Bug T74055
'lvwiki' = array( '', 'autoconfirmed', 'autopatrol', 'sysop', 
'superprotect' ), // T92645
'plwiki' = array( '', 'autoconfirmed', 'editor', 'sysop', 
'superprotect' ), // Bug T48990
@@ -7495,6 +7495,7 @@
'abusefilter-view-private' = true, 'editinterface' = 
true, 'editusercssjs' = true, 'import' = true, 'tboverride' = true
),
'checkuser' = array( 'deletedhistory' = true, 'deletedtext' 
= true, 'abusefilter-log-detail' = true ),
+   'templateeditor' = array( 'templateeditor' = true, 
'tboverride' = true, ),
),
'hewikibooks' = array(
'patroller' = array(
@@ -8297,7 +8298,7 @@
 ),
 # @} end of groupOverrides
 
-# groupOverrides2 @{
+# groupO verrides2 @{
 'groupOverrides2' = array(
// IMPORTANT: don't forget to use a '+' sign in front of any group name
// after 'default' or it will replace the defaults completely.
@@ -8619,7 +8620,7 @@
),
'+hewiki' = array(
'sysop' = array( 'patroller', 'autopatrolled', 
'accountcreator' ),
-   'bureaucrat' = array( 'interface-editor' ),
+   'bureaucrat' = array( 'interface-editor', 'templateeditor' ),
),
'+hewikibooks' = array(
'sysop' = array( 'patroller', 'autopatrolled' ),

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I64284f4e72a609b026ec2828db8a83317b71baf9
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] graphite: hotname is a fact, qualify in the right scope - change (operations/puppet)

2015-06-08 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: graphite: hotname is a fact, qualify in the right scope
..

graphite: hotname is a fact, qualify in the right scope

bug: T97251
Change-Id: I3a074c0130a2e4f520e192cb026dc5c614ebf4bb
---
M modules/graphite/templates/initscripts/frontend-relay.upstart.erb
M modules/graphite/templates/initscripts/local-relay.upstart.erb
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/67/216867/1

diff --git a/modules/graphite/templates/initscripts/frontend-relay.upstart.erb 
b/modules/graphite/templates/initscripts/frontend-relay.upstart.erb
index fde487e..2fbffd8 100644
--- a/modules/graphite/templates/initscripts/frontend-relay.upstart.erb
+++ b/modules/graphite/templates/initscripts/frontend-relay.upstart.erb
@@ -12,4 +12,4 @@
 
 # it is possible there's another carbon-c-relay running on the same host, so
 # change the hostname
-exec /usr/bin/carbon-c-relay -H %= #{hostname}_frontend -% -p 2003 -f 
/etc/carbon/frontend-relay.conf
+exec /usr/bin/carbon-c-relay -H %= 
#{scope.lookupvar('::hostname')}_frontend -% -p 2003 -f 
/etc/carbon/frontend-relay.conf
diff --git a/modules/graphite/templates/initscripts/local-relay.upstart.erb 
b/modules/graphite/templates/initscripts/local-relay.upstart.erb
index 3ca5694..702a865 100644
--- a/modules/graphite/templates/initscripts/local-relay.upstart.erb
+++ b/modules/graphite/templates/initscripts/local-relay.upstart.erb
@@ -12,4 +12,4 @@
 
 # it is possible there's another carbon-c-relay running on the same host, so
 # change the hostname
-exec /usr/bin/carbon-c-relay -H %= #{hostname}_local -% -p 1903 -f 
/etc/carbon/local-relay.conf
+exec /usr/bin/carbon-c-relay -H %= #{scope.lookupvar('::hostname')}_local 
-% -p 1903 -f /etc/carbon/local-relay.conf

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3a074c0130a2e4f520e192cb026dc5c614ebf4bb
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] ganglia: qualify var - change (operations/puppet)

2015-06-08 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: ganglia: qualify var
..

ganglia: qualify var

bug: T97251
Change-Id: I5e1de383f23106ac0ff0ef35d6b21ebacc905e9b
---
M templates/ganglia/gmetad.conf.erb
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/24/216624/1

diff --git a/templates/ganglia/gmetad.conf.erb 
b/templates/ganglia/gmetad.conf.erb
index 94b3c8e..1192e62 100644
--- a/templates/ganglia/gmetad.conf.erb
+++ b/templates/ganglia/gmetad.conf.erb
@@ -41,8 +41,8 @@
 # END AUTOGEN FROM CRON
 % end %
 % if has_variable?(data_sources) then %
-% data_sources.keys.sort.each do |ds_key| -%
-data_source %= ds_key % %= data_sources[ds_key] %
+% @data_sources.keys.sort.each do |ds_key| -%
+data_source %= ds_key % %= @data_sources[ds_key] %
 % end -%
 % end %
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5e1de383f23106ac0ff0ef35d6b21ebacc905e9b
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] keystongconfig: qualify var - change (operations/puppet)

2015-06-03 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: keystongconfig: qualify var
..

keystongconfig: qualify var

bug: T97251
Change-Id: Ia6087aaa1c31060c9b0258682ff40dd5a04d286a
---
M modules/openstack/templates/icehouse/keystone/keystone.conf.erb
1 file changed, 15 insertions(+), 15 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/09/215709/1

diff --git a/modules/openstack/templates/icehouse/keystone/keystone.conf.erb 
b/modules/openstack/templates/icehouse/keystone/keystone.conf.erb
index eb182a8..3a54ea0 100644
--- a/modules/openstack/templates/icehouse/keystone/keystone.conf.erb
+++ b/modules/openstack/templates/icehouse/keystone/keystone.conf.erb
@@ -1,6 +1,6 @@
 [DEFAULT]
 # A shared secret between keystone and other openstack services
-admin_token = %= keystoneconfig[admin_token] %
+admin_token = %= @keystoneconfig[admin_token] %
 
 # The IP address of the network interface to listen on
 # bind_host = 0.0.0.0
@@ -59,7 +59,7 @@
 
 [database]
 # The SQLAlchemy connection string used to connect to the database
-connection = mysql://%= keystoneconfig[db_user] %:%= 
keystoneconfig[db_pass] %@%= keystoneconfig[db_host] %/%= 
keystoneconfig[db_name] %
+connection = mysql://%= @keystoneconfig[db_user] %:%= 
@keystoneconfig[db_pass] %@%= @keystoneconfig[db_host] %/%= 
@keystoneconfig[db_name] %
 
 [identity]
 driver = keystone.identity.backends.ldap.Identity
@@ -74,7 +74,7 @@
 # template_file = default_catalog.templates
 
 [token]
-% if keystoneconfig[token_driver] == 'redis' %
+% if @keystoneconfig[token_driver] == 'redis' %
 driver = keystoneredis.token.Token
 % else %
 driver = keystone.token.backends.sql.Token
@@ -84,7 +84,7 @@
 # Using 7.1 days, as we'll set MediaWiki to 7 days
 expiration = 613440
 
-% if keystoneconfig[token_driver] == 'redis' %
+% if @keystoneconfig[token_driver] == 'redis' %
 [redis]
 password = %= keystoneconfig[token_driver_password] %
 % end -%
@@ -113,16 +113,16 @@
 #token_format = PKI
 
 [ldap]
-url = ldap://%= keystoneconfig[ldap_host] %
-tree_dn = %= keystoneconfig[ldap_base_dn] %
-user_tree_dn = ou=people,%= keystoneconfig[ldap_base_dn] %
-tenant_tree_dn = ou=projects,%= keystoneconfig[ldap_base_dn] %
-user_id_attribute = %= keystoneconfig[ldap_user_id_attribute] %
-tenant_id_attribute = %= keystoneconfig[ldap_tenant_id_attribute] %
-user_name_attribute = %= keystoneconfig[ldap_user_name_attribute] %
-tenant_name_attribute = %= keystoneconfig[ldap_tenant_name_attribute] %
-user = %= keystoneconfig[ldap_user_dn] %
-password = %= keystoneconfig[ldap_user_pass] %
+url = ldap://%= @keystoneconfig[ldap_host] %
+tree_dn = %= @keystoneconfig[ldap_base_dn] %
+user_tree_dn = ou=people,%= @keystoneconfig[ldap_base_dn] %
+tenant_tree_dn = ou=projects,%= @keystoneconfig[ldap_base_dn] %
+user_id_attribute = %= @keystoneconfig[ldap_user_id_attribute] %
+tenant_id_attribute = %= @keystoneconfig[ldap_tenant_id_attribute] %
+user_name_attribute = %= @keystoneconfig[ldap_user_name_attribute] %
+tenant_name_attribute = %= @keystoneconfig[ldap_tenant_name_attribute] %
+user = %= @keystoneconfig[ldap_user_dn] %
+password = %= @keystoneconfig[ldap_user_pass] %
 # url = ldap://localhost
 # user = dc=Manager,dc=example,dc=com
 # password = None
@@ -140,7 +140,7 @@
 # tenant_member_attribute = member
 # tenant_name_attribute = ou
 
-role_tree_dn = ou=roles,%= keystoneconfig[ldap_base_dn] %
+role_tree_dn = ou=roles,%= @keystoneconfig[ldap_base_dn] %
 role_objectclass = organizationalRole
 role_id_attribute = cn
 role_name_attribute = cn

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia6087aaa1c31060c9b0258682ff40dd5a04d286a
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] novaconfig: qualify var - change (operations/puppet)

2015-06-03 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: novaconfig: qualify var
..

novaconfig: qualify var

bug: T97251
Change-Id: I0e70397299d9e3e7731d9591fda0473f53e0791c
---
M modules/openstack/templates/common/nova/nova-compute.conf.erb
M modules/openstack/templates/icehouse/horizon/local_settings.py.erb
M modules/openstack/templates/icehouse/nova/api-paste.ini.erb
M modules/openstack/templates/icehouse/nova/nova.conf.erb
4 files changed, 37 insertions(+), 37 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/69/215769/1

diff --git a/modules/openstack/templates/common/nova/nova-compute.conf.erb 
b/modules/openstack/templates/common/nova/nova-compute.conf.erb
index 2982e89..f31ad50 100644
--- a/modules/openstack/templates/common/nova/nova-compute.conf.erb
+++ b/modules/openstack/templates/common/nova/nova-compute.conf.erb
@@ -1,2 +1,2 @@
 [DEFAULT]
-libvirt_type=%= novaconfig[libvirt_type] %
+libvirt_type=%= @novaconfig[libvirt_type] %
diff --git a/modules/openstack/templates/icehouse/horizon/local_settings.py.erb 
b/modules/openstack/templates/icehouse/horizon/local_settings.py.erb
index 1907f55..c16d93c 100644
--- a/modules/openstack/templates/icehouse/horizon/local_settings.py.erb
+++ b/modules/openstack/templates/icehouse/horizon/local_settings.py.erb
@@ -151,7 +151,7 @@
 # ('http://cluster2.example.com:5000/v2.0', 'cluster2'),
 # ]
 
-OPENSTACK_HOST = %= novaconfig['controller_hostname'] %
+OPENSTACK_HOST = %= @novaconfig['controller_hostname'] %
 OPENSTACK_KEYSTONE_URL = http://%s:5000/v2.0; % OPENSTACK_HOST
 OPENSTACK_KEYSTONE_DEFAULT_ROLE = _member_
 
diff --git a/modules/openstack/templates/icehouse/nova/api-paste.ini.erb 
b/modules/openstack/templates/icehouse/nova/api-paste.ini.erb
index 2b36b0f..bbabd92 100644
--- a/modules/openstack/templates/icehouse/nova/api-paste.ini.erb
+++ b/modules/openstack/templates/icehouse/nova/api-paste.ini.erb
@@ -120,11 +120,11 @@
 [filter:authtoken]
 paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
 service_protocol = http
-service_host = %= novaconfig[keystone_auth_host] %
+service_host = %= @novaconfig[keystone_auth_host] %
 service_port = 5000
-auth_host = %= novaconfig[keystone_auth_host] %
-auth_port = %= novaconfig[keystone_auth_port] %
-auth_protocol = %= novaconfig[keystone_auth_protocol] %
-admin_token = %= novaconfig[keystone_admin_token] %
+auth_host = %= @novaconfig[keystone_auth_host] %
+auth_port = %= @novaconfig[keystone_auth_port] %
+auth_protocol = %= @novaconfig[keystone_auth_protocol] %
+admin_token = %= @novaconfig[keystone_admin_token] %
 signing_dir = /tmp/keystone-signing-nova
-auth_uri = %= novaconfig[auth_uri] %
+auth_uri = %= @novaconfig[auth_uri] %
diff --git a/modules/openstack/templates/icehouse/nova/nova.conf.erb 
b/modules/openstack/templates/icehouse/nova/nova.conf.erb
index a3d6516..edc1506 100644
--- a/modules/openstack/templates/icehouse/nova/nova.conf.erb
+++ b/modules/openstack/templates/icehouse/nova/nova.conf.erb
@@ -18,30 +18,30 @@
 # Don't allow duplicate instance names
 osapi_compute_unique_server_name_scope='global'
 
-my_ip=%= novaconfig[my_ip] %
+my_ip=%= @novaconfig[my_ip] %
 logdir=/var/log/nova
 state_path=/var/lib/nova
 lock_path=/var/lock/nova
-sql_connection=mysql://%= novaconfig[db_user] %:%= novaconfig[db_pass] 
%@%= novaconfig[db_host] %/%= novaconfig[db_name] %
+sql_connection=mysql://%= @novaconfig[db_user] %:%= 
@novaconfig[db_pass] %@%= @novaconfig[db_host] %/%= 
@novaconfig[db_name] %
 image_service=nova.image.glance.GlanceImageService
 remove_unused_base_images=False
-s3_host=%= novaconfig[glance_host] %
-glance_api_servers=%= novaconfig[glance_host] %:9292
-cc_host=%= novaconfig[cc_host] %
-network_host=%= novaconfig[network_host] %
-ec2_url=http://%= novaconfig[api_host] %:8773/services/Cloud
-ec2_dmz_host=%= novaconfig[api_ip] %
-dmz_cidr=%= novaconfig[dmz_cidr] %
-libvirt_type=%= novaconfig[libvirt_type] %
+s3_host=%= @novaconfig[glance_host] %
+glance_api_servers=%= @novaconfig[glance_host] %:9292
+cc_host=%= @novaconfig[cc_host] %
+network_host=%= @novaconfig[network_host] %
+ec2_url=http://%= @novaconfig[api_host] %:8773/services/Cloud
+ec2_dmz_host=%= @novaconfig[api_ip] %
+dmz_cidr=%= @novaconfig[dmz_cidr] %
+libvirt_type=%= @novaconfig[libvirt_type] %
 dhcpbridge_flagfile=/etc/nova/nova.conf
 dhcpbridge=/usr/bin/nova-dhcpbridge
-dhcp_domain=%= novaconfig[dhcp_domain] %
-quota_floating_ips=%= novaconfig[quota_floating_ips] %
+dhcp_domain=%= @novaconfig[dhcp_domain] %
+quota_floating_ips=%= @novaconfig[quota_floating_ips] %
 quota_fixed_ips=200
 api_paste_config=/etc/nova/api-paste.ini
 #use_ipv6=True
 allow_same_net_traffic=False
-live_migration_uri=%= novaconfig[live_migration_uri] %
+live_migration_uri=%= @novaconfig[live_migration_uri] %
 libvirt_use_virtio_for_bridges=True
 force_dhcp_release=True
 # 

[MediaWiki-commits] [Gerrit] puppet_certname: qualify var - change (operations/puppet)

2015-06-03 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: puppet_certname: qualify var
..

puppet_certname: qualify var

bug: T97251
Change-Id: I1e096d5b4bb410573bbc5da74f1be8c20e931014
---
M modules/strongswan/templates/ipsec.conf.erb
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/72/215772/1

diff --git a/modules/strongswan/templates/ipsec.conf.erb 
b/modules/strongswan/templates/ipsec.conf.erb
index d132335..9aa3f8d 100644
--- a/modules/strongswan/templates/ipsec.conf.erb
+++ b/modules/strongswan/templates/ipsec.conf.erb
@@ -9,7 +9,7 @@
   if left_ipv4 !=  and right_ipv4 != 
   result  conn #{@fqdn}-#{node}_by_ipv4
   result  \tleft=#{left_ipv4} 
-  result  \tleftcert=#{puppet_certname}.pem
+  result  \tleftcert=#{@puppet_certname}.pem
   result  \tright=#{right_ipv4}
   result  \trightid=\CN=#{node}\
   result  
@@ -17,7 +17,7 @@
   if left_ipv6 !=  and right_ipv6 != 
   result  conn #{@fqdn}-#{node}_by_ipv6
   result  \tleft=#{left_ipv6} 
-  result  \tleftcert=#{puppet_certname}.pem
+  result  \tleftcert=#{@puppet_certname}.pem
   result  \tright=#{right_ipv6}
   result  \trightid=\CN=#{node}\
   result  

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1e096d5b4bb410573bbc5da74f1be8c20e931014
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] graphite: hotname is a fact, qualify - change (operations/puppet)

2015-06-03 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: graphite: hotname is a fact, qualify
..

graphite: hotname is a fact, qualify

bug: T97251
Change-Id: I892aea3ed63ec6eb41058dcd4b9d25ab09e84ef8
---
M modules/graphite/templates/initscripts/frontend-relay.upstart.erb
M modules/graphite/templates/initscripts/local-relay.upstart.erb
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/00/215700/1

diff --git a/modules/graphite/templates/initscripts/frontend-relay.upstart.erb 
b/modules/graphite/templates/initscripts/frontend-relay.upstart.erb
index fde487e..48a6a32 100644
--- a/modules/graphite/templates/initscripts/frontend-relay.upstart.erb
+++ b/modules/graphite/templates/initscripts/frontend-relay.upstart.erb
@@ -12,4 +12,4 @@
 
 # it is possible there's another carbon-c-relay running on the same host, so
 # change the hostname
-exec /usr/bin/carbon-c-relay -H %= #{hostname}_frontend -% -p 2003 -f 
/etc/carbon/frontend-relay.conf
+exec /usr/bin/carbon-c-relay -H %= #{@hostname}_frontend -% -p 2003 -f 
/etc/carbon/frontend-relay.conf
diff --git a/modules/graphite/templates/initscripts/local-relay.upstart.erb 
b/modules/graphite/templates/initscripts/local-relay.upstart.erb
index 3ca5694..3575bb9 100644
--- a/modules/graphite/templates/initscripts/local-relay.upstart.erb
+++ b/modules/graphite/templates/initscripts/local-relay.upstart.erb
@@ -12,4 +12,4 @@
 
 # it is possible there's another carbon-c-relay running on the same host, so
 # change the hostname
-exec /usr/bin/carbon-c-relay -H %= #{hostname}_local -% -p 1903 -f 
/etc/carbon/local-relay.conf
+exec /usr/bin/carbon-c-relay -H %= #{@hostname}_local -% -p 1903 -f 
/etc/carbon/local-relay.conf

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I892aea3ed63ec6eb41058dcd4b9d25ab09e84ef8
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] nove: qualify vars - change (operations/puppet)

2015-06-03 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: nove: qualify vars
..

nove: qualify vars

bug: T97251
Change-Id: I9dfeaf75548a8b6105e02ed8f879c0a4f46326dd
---
M modules/openstack/templates/icehouse/nova/nova.conf.erb
1 file changed, 7 insertions(+), 7 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/05/215705/1

diff --git a/modules/openstack/templates/icehouse/nova/nova.conf.erb 
b/modules/openstack/templates/icehouse/nova/nova.conf.erb
index 9f70da1..a3d6516 100644
--- a/modules/openstack/templates/icehouse/nova/nova.conf.erb
+++ b/modules/openstack/templates/icehouse/nova/nova.conf.erb
@@ -99,13 +99,13 @@
 notification_driver=wikistatus
 notify_on_state_change=vm_state
 
-wiki_host=%= instance_status_wiki_host %
-wiki_domain=%= instance_status_wiki_domain %
-wiki_page_prefix=%= instance_status_wiki_page_prefix %
-wiki_instance_region=%= instance_status_wiki_region %
-wiki_login=%= instance_status_wiki_user %
-wiki_password=%= instance_status_wiki_pass %
-wiki_instance_dns_domain=%= instance_status_dns_domain %
+wiki_host=%= @instance_status_wiki_host %
+wiki_domain=%= @instance_status_wiki_domain %
+wiki_page_prefix=%= @instance_status_wiki_page_prefix %
+wiki_instance_region=%= @instance_status_wiki_region %
+wiki_login=%= @instance_status_wiki_user %
+wiki_password=%= @instance_status_wiki_pass %
+wiki_instance_dns_domain=%= @instance_status_dns_domain %
 wiki_use_keystone=False
 
 # Designate things:

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9dfeaf75548a8b6105e02ed8f879c0a4f46326dd
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] ganalia_new: qualify var - change (operations/puppet)

2015-06-03 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: ganalia_new: qualify var
..

ganalia_new: qualify var

bug: T97251
Change-Id: Ieda5883ed0ad27c2c30c0a9f88e9e4ae530b61bf
---
M modules/ganglia_new/templates/ganglia_view.json.erb
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/07/215707/1

diff --git a/modules/ganglia_new/templates/ganglia_view.json.erb 
b/modules/ganglia_new/templates/ganglia_view.json.erb
index 7e52b9f..f5717c1 100644
--- a/modules/ganglia_new/templates/ganglia_view.json.erb
+++ b/modules/ganglia_new/templates/ganglia_view.json.erb
@@ -22,7 +22,7 @@
  view_type:%= @view_type %,
  default_size:%= @default_size %,
 
- items:%= JSON.pretty_generate(items) %
+ items:%= JSON.pretty_generate(@items) %
 }
 
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ieda5883ed0ad27c2c30c0a9f88e9e4ae530b61bf
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] ldap-groups: qualify var - change (operations/puppet)

2015-06-03 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: ldap-groups: qualify var
..

ldap-groups: qualify var

bug: T97251
Change-Id: I73adb814edfd74a65533d283cee4b49c5d3aecc0
---
M modules/ishmael/templates/apache/ishmael.wikimedia.org.erb
M modules/tendril/templates/apache/tendril.wikimedia.org.erb
M templates/graphite/apache-auth-ldap.erb
M templates/kibana/apache-auth-ldap.erb
4 files changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/12/215712/1

diff --git a/modules/ishmael/templates/apache/ishmael.wikimedia.org.erb 
b/modules/ishmael/templates/apache/ishmael.wikimedia.org.erb
index b9ed142..a3cf674 100644
--- a/modules/ishmael/templates/apache/ishmael.wikimedia.org.erb
+++ b/modules/ishmael/templates/apache/ishmael.wikimedia.org.erb
@@ -26,7 +26,7 @@
 AuthLDAPBindDN %= @ldap_binddn %
 AuthLDAPBindPassword %= @proxypass %
 AuthLDAPURL %= @ldap_authurl %
-% ldap_groups.each do |group| -%
+% @ldap_groups.each do |group| -%
 Require ldap-group %= group %
 % end -%
 /Directory
diff --git a/modules/tendril/templates/apache/tendril.wikimedia.org.erb 
b/modules/tendril/templates/apache/tendril.wikimedia.org.erb
index dd72cec..334afbc 100644
--- a/modules/tendril/templates/apache/tendril.wikimedia.org.erb
+++ b/modules/tendril/templates/apache/tendril.wikimedia.org.erb
@@ -27,7 +27,7 @@
 AuthLDAPBindDN %= @ldap_binddn %
 AuthLDAPBindPassword %= @proxypass %
 AuthLDAPURL %= @ldap_authurl %
-% ldap_groups.each do |group| -%
+% @ldap_groups.each do |group| -%
 Require ldap-group %= group %
 % end -%
 /Directory
diff --git a/templates/graphite/apache-auth-ldap.erb 
b/templates/graphite/apache-auth-ldap.erb
index ebfa2ea..bdf4caf 100644
--- a/templates/graphite/apache-auth-ldap.erb
+++ b/templates/graphite/apache-auth-ldap.erb
@@ -7,7 +7,7 @@
 AuthLDAPURL %= @ldap_authurl %
 
 LimitExcept OPTIONS
-% ldap_groups.each do |group| -%
+% @ldap_groups.each do |group| -%
 Require ldap-group %= group %
 % end -%
 /LimitExcept
diff --git a/templates/kibana/apache-auth-ldap.erb 
b/templates/kibana/apache-auth-ldap.erb
index 758a64e..adaca27 100644
--- a/templates/kibana/apache-auth-ldap.erb
+++ b/templates/kibana/apache-auth-ldap.erb
@@ -4,6 +4,6 @@
 AuthLDAPBindDN %= @ldap_binddn %
 AuthLDAPBindPassword %= @ldap_bindpass %
 AuthLDAPURL %= @ldap_authurl %
-% ldap_groups.each do |group| -%
+% @ldap_groups.each do |group| -%
 Require ldap-group %= group %
 % end -%

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I73adb814edfd74a65533d283cee4b49c5d3aecc0
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] multicast: qualify var - change (operations/puppet)

2015-06-03 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: multicast: qualify var
..

multicast: qualify var

bug: T97251
Change-Id: I8c36dfe12b29a05fce993954fcb0b6961dec7f29
---
M templates/udp2log/udp2log.init.erb
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/67/215767/1

diff --git a/templates/udp2log/udp2log.init.erb 
b/templates/udp2log/udp2log.init.erb
index 6030762..8c3e5ec 100644
--- a/templates/udp2log/udp2log.init.erb
+++ b/templates/udp2log/udp2log.init.erb
@@ -23,7 +23,7 @@
 NAME=udp2log-%= @name %
 DAEMON=/usr/bin/udp2log
 PIDFILE=/var/run/$NAME.pid
-DAEMON_ARGS=--daemon --pid-file $PIDFILE -p %= @port %% if multicast then 
-% --multicast %= (multicast.class == String) ? multicast : '233.58.59.1' 
%% end %
+DAEMON_ARGS=--daemon --pid-file $PIDFILE -p %= @port %% if multicast then 
-% --multicast %= (@multicast.class == String) ? multicast : '233.58.59.1' 
%% end %
 SCRIPTNAME=/etc/init.d/$NAME
 CONFFILE=/etc/udp2log/%= @name %
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8c36dfe12b29a05fce993954fcb0b6961dec7f29
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] ganglia: qualify var - change (operations/puppet)

2015-06-03 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: ganglia: qualify var
..

ganglia: qualify var

bug: T97251
Change-Id: I74a8d3a6ce9918ce47325bd3517cfcd8346ea7a1
---
M templates/ganglia/gmetad.conf.erb
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/95/215695/1

diff --git a/templates/ganglia/gmetad.conf.erb 
b/templates/ganglia/gmetad.conf.erb
index 4709b67..94b3c8e 100644
--- a/templates/ganglia/gmetad.conf.erb
+++ b/templates/ganglia/gmetad.conf.erb
@@ -1,4 +1,4 @@
-# Ganglia Meta Daemon for %= gridname %
+# Ganglia Meta Daemon for %= @gridname %
 #
 # This file is managed by Puppet!
 #
@@ -76,7 +76,7 @@
 # gridname MyGrid
 
 % if has_variable?(gridname) then %
-gridname %= gridname %
+gridname %= @gridname %
 % end %
 
 #

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I74a8d3a6ce9918ce47325bd3517cfcd8346ea7a1
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] rra_sizes: qualify var - change (operations/puppet)

2015-06-03 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: rra_sizes: qualify var
..

rra_sizes: qualify var

bug: T97251
Change-Id: Ifda7ab0332ce947ed2719977be688e3f539ed97c
---
M templates/ganglia/gmetad.conf.erb
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/84/215784/1

diff --git a/templates/ganglia/gmetad.conf.erb 
b/templates/ganglia/gmetad.conf.erb
index 94b3c8e..9bfafa1 100644
--- a/templates/ganglia/gmetad.conf.erb
+++ b/templates/ganglia/gmetad.conf.erb
@@ -56,7 +56,7 @@
 
 # Custom RRA sizes, see 
http://bugzilla.ganglia.info/cgi-bin/bugzilla/show_bug.cgi?id=119
 % if has_variable?(rra_sizes) then %
-RRAs %= rra_sizes %
+RRAs %= @rra_sizes %
 % end %
 
 #

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifda7ab0332ce947ed2719977be688e3f539ed97c
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] glance: qualify vars - change (operations/puppet)

2015-06-03 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: glance: qualify vars
..

glance: qualify vars

bug: T97251
Change-Id: I7c12148e3d7a4152afe58a3e32922c9405a54516
---
M modules/openstack/templates/icehouse/glance/glance-registry.conf.erb
1 file changed, 9 insertions(+), 9 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/93/215693/1

diff --git 
a/modules/openstack/templates/icehouse/glance/glance-registry.conf.erb 
b/modules/openstack/templates/icehouse/glance/glance-registry.conf.erb
index 700f429..1f9dfb0 100644
--- a/modules/openstack/templates/icehouse/glance/glance-registry.conf.erb
+++ b/modules/openstack/templates/icehouse/glance/glance-registry.conf.erb
@@ -6,7 +6,7 @@
 debug = False
 
 # Address to bind the registry server
-bind_host = %= glanceconfig[bind_ip] %
+bind_host = %= @glanceconfig[bind_ip] %
 
 # Port the bind the registry server to
 bind_port = 9191
@@ -64,14 +64,14 @@
 #ca_file = /path/to/cafile
 
 [keystone_authtoken]
-service_protocol = %= glanceconfig[keystone_auth_protocol] %
-service_host = %= glanceconfig[keystone_auth_host] %
+service_protocol = %= @glanceconfig[keystone_auth_protocol] %
+service_host = %= @glanceconfig[keystone_auth_host] %
 service_port = 5000
-auth_host = %= glanceconfig[keystone_auth_host] %
-auth_port = %= glanceconfig[keystone_auth_port] %
-auth_protocol = %= glanceconfig[keystone_auth_protocol] %
-admin_token = %= glanceconfig[keystone_admin_token] %
-auth_uri = %= glanceconfig[auth_uri] %
+auth_host = %= @glanceconfig[keystone_auth_host] %
+auth_port = %= @glanceconfig[keystone_auth_port] %
+auth_protocol = %= @glanceconfig[keystone_auth_protocol] %
+admin_token = %= @glanceconfig[keystone_admin_token] %
+auth_uri = %= @glanceconfig[auth_uri] %
 
 [paste_deploy]
 # Name of the paste configuration file that defines the available pipelines
@@ -88,4 +88,4 @@
 # SQLAlchemy connection string for the reference implementation
 # registry server. Any valid SQLAlchemy connection string is fine.
 # See: 
http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/connections.html#sqlalchemy.create_engine
-connection = mysql://%= glanceconfig[db_user] %:%= 
glanceconfig[db_pass] %@%= glanceconfig[db_host] %/%= 
glanceconfig[db_name] %
+connection = mysql://%= @glanceconfig[db_user] %:%= 
@glanceconfig[db_pass] %@%= @glanceconfig[db_host] %/%= 
@glanceconfig[db_name] %

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7c12148e3d7a4152afe58a3e32922c9405a54516
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] glance: qualify var - change (operations/puppet)

2015-06-03 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: glance: qualify var
..

glance: qualify var

bug: T97251
Change-Id: Ie393723a68e078f683645e3838d4f586d75c2b09
---
M modules/openstack/templates/icehouse/keystone/keystone.conf.erb
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/94/215694/1

diff --git a/modules/openstack/templates/icehouse/keystone/keystone.conf.erb 
b/modules/openstack/templates/icehouse/keystone/keystone.conf.erb
index f436f11..eb182a8 100644
--- a/modules/openstack/templates/icehouse/keystone/keystone.conf.erb
+++ b/modules/openstack/templates/icehouse/keystone/keystone.conf.erb
@@ -9,7 +9,7 @@
 # public_port = 5000
 
 # The port number which the public admin listens on
-admin_port = %= glanceconfig[keystone_auth_port] %
+admin_port = %= @glanceconfig[keystone_auth_port] %
 
 # The port number which the OpenStack Compute service listens on
 # compute_port = 8774

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie393723a68e078f683645e3838d4f586d75c2b09
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] remote_cert_cleaner: qualify var - change (operations/puppet)

2015-06-03 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: remote_cert_cleaner: qualify var
..

remote_cert_cleaner: qualify var

bug: T97251
Change-Id: I7f6b90df0c7b853cfe6af68c3aaab9c95001ea10
---
M modules/puppetmaster/templates/puppet_cert_manager.pub.erb
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/77/215777/1

diff --git a/modules/puppetmaster/templates/puppet_cert_manager.pub.erb 
b/modules/puppetmaster/templates/puppet_cert_manager.pub.erb
index fcab503..bfead7f 100644
--- a/modules/puppetmaster/templates/puppet_cert_manager.pub.erb
+++ b/modules/puppetmaster/templates/puppet_cert_manager.pub.erb
@@ -1 +1 @@
-from=%= scope.function_ipresolve([remote_cert_cleaner, 4]) % ssh-rsa 
B3NzaC1yc2EDAQABAAABAQC58c3tShWchHSCEGp4LeJ3hcKhfgNMSF3FFmblVbp5ZUQ7EyL23q2hBr6Wdo2WoWAiiZN7BvQRjoykMvCEJoUVr2Kot8T84pyzR+U1l7ASuuGMQF5z4ftyWT34icEzbTCPdsPx+yPOHfPn9N5i7B55+5D2/R2xgeZ6J0/ab+ZS6vZ+oNnMEvD29RmfwCYdOcVZH6O66Pi4e44kd78rhhLlws0G2XVRvng1Urte75KuBq57G6axFHq7oQyjOQ+yLLlYvr35nDruXZ5ggW2+i9x/6KbybSURWQpXOy8I4e0Uv7K+4fqC1XPwVGexsnmWcMeqbIPpijL+jKe8kq2Q89C9
 labs_certs
+from=%= scope.function_ipresolve([@remote_cert_cleaner, 4]) % ssh-rsa 
B3NzaC1yc2EDAQABAAABAQC58c3tShWchHSCEGp4LeJ3hcKhfgNMSF3FFmblVbp5ZUQ7EyL23q2hBr6Wdo2WoWAiiZN7BvQRjoykMvCEJoUVr2Kot8T84pyzR+U1l7ASuuGMQF5z4ftyWT34icEzbTCPdsPx+yPOHfPn9N5i7B55+5D2/R2xgeZ6J0/ab+ZS6vZ+oNnMEvD29RmfwCYdOcVZH6O66Pi4e44kd78rhhLlws0G2XVRvng1Urte75KuBq57G6axFHq7oQyjOQ+yLLlYvr35nDruXZ5ggW2+i9x/6KbybSURWQpXOy8I4e0Uv7K+4fqC1XPwVGexsnmWcMeqbIPpijL+jKe8kq2Q89C9
 labs_certs

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7f6b90df0c7b853cfe6af68c3aaab9c95001ea10
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] strongswan: qualify var - change (operations/puppet)

2015-06-03 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: strongswan: qualify var
..

strongswan: qualify var

bug: T97251
Change-Id: I98ed213674e354839c72a842a27cf8ae6e799ad7
---
M modules/strongswan/templates/ipsec.conf.erb
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/04/215704/1

diff --git a/modules/strongswan/templates/ipsec.conf.erb 
b/modules/strongswan/templates/ipsec.conf.erb
index d132335..0318311 100644
--- a/modules/strongswan/templates/ipsec.conf.erb
+++ b/modules/strongswan/templates/ipsec.conf.erb
@@ -46,6 +46,6 @@
auto=start
 
 # Connections
-% hosts.each do |node| -%
+% @hosts.each do |node| -%
 %= individual_node(node).join(\n) %
 % end -%

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I98ed213674e354839c72a842a27cf8ae6e799ad7
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] memorysize is a fact, qualify - change (operations/puppet)

2015-06-03 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: memorysize is a fact, qualify
..

memorysize is a fact, qualify

bug: T97251
Change-Id: Ia6dc30b89da104f6c3212c935bb86754841554ec
---
M manifests/role/redisdb.pp
M modules/mysql_wmf/templates/prod.my.cnf.erb
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/63/215763/1

diff --git a/manifests/role/redisdb.pp b/manifests/role/redisdb.pp
index cd0299c..ca121dc 100644
--- a/manifests/role/redisdb.pp
+++ b/manifests/role/redisdb.pp
@@ -11,7 +11,7 @@
 }
 
 class role::db::redis (
-$maxmemory = inline_template(%= (Float(memorysize.split[0]) * 
0.82).round %Gb),
+$maxmemory = inline_template(%= (Float(@memorysize.split[0]) * 
0.82).round %Gb),
 $redis_replication = undef,
 $dir   = '/srv/redis'
 ) {
diff --git a/modules/mysql_wmf/templates/prod.my.cnf.erb 
b/modules/mysql_wmf/templates/prod.my.cnf.erb
index feb9b93..de2d0dc 100644
--- a/modules/mysql_wmf/templates/prod.my.cnf.erb
+++ b/modules/mysql_wmf/templates/prod.my.cnf.erb
@@ -77,7 +77,7 @@
 innodb-thread-lifo=1
 % end -%
 
-% ram = memorysize.split[0]; ram = Float(ram) * 0.75; 
+% ram = @memorysize.split[0]; ram = Float(ram) * 0.75; 
 ram = ram.round; ram = String(ram) + G; %
 
 innodb-adaptive-flushing=1

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia6dc30b89da104f6c3212c935bb86754841554ec
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] realm: qualify var - change (operations/puppet)

2015-06-03 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: realm: qualify var
..

realm: qualify var

bug: T97251
Change-Id: I3a75d669bbb9f18c3b1d580b9263e7060cc81ec9
---
M templates/apache/sites/wikitech.wikimedia.org.erb
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/76/215776/1

diff --git a/templates/apache/sites/wikitech.wikimedia.org.erb 
b/templates/apache/sites/wikitech.wikimedia.org.erb
index d820b43..4519235 100644
--- a/templates/apache/sites/wikitech.wikimedia.org.erb
+++ b/templates/apache/sites/wikitech.wikimedia.org.erb
@@ -103,7 +103,7 @@
 Alias /w /srv/mediawiki/docroot/wikimedia.org/w
 Alias /wiki /srv/mediawiki/docroot/wikimedia.org/w/index.php
 Alias /dumps /a/backup/public
-% if realm == labs %
+% if @realm == labs %
 # Add additional wikis for development
 Alias /w2 /srv/org/wikimedia/controller/wikis/w2
 Alias /wiki2 /srv/org/wikimedia/controller/wikis/w2/index.php

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3a75d669bbb9f18c3b1d580b9263e7060cc81ec9
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] site: qualify var - change (operations/puppet)

2015-06-03 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: site: qualify var
..

site: qualify var

bug: T97251
Change-Id: I57d98a639c1abd54a8c7a0d0cdbac2ad1a922475
---
M modules/openstack/templates/common/nova/libvirtd.conf.erb
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/88/215788/1

diff --git a/modules/openstack/templates/common/nova/libvirtd.conf.erb 
b/modules/openstack/templates/common/nova/libvirtd.conf.erb
index 57e2d73..972b17c 100644
--- a/modules/openstack/templates/common/nova/libvirtd.conf.erb
+++ b/modules/openstack/templates/common/nova/libvirtd.conf.erb
@@ -218,7 +218,7 @@
 # entirely rather than using empty list to disable these checks
 #
 # By default, no DN's are checked
-tls_allowed_dn_list = [C=US,ST=California,O=Wikimedia 
Foundation,OU=Operations,CN=virt*.%= site %.wmnet, 
C=US,ST=California,O=Wikimedia Foundation,OU=Operations,CN=labvirt*.%= site 
%.wmnet]
+tls_allowed_dn_list = [C=US,ST=California,O=Wikimedia 
Foundation,OU=Operations,CN=virt*.%= @site %.wmnet, 
C=US,ST=California,O=Wikimedia Foundation,OU=Operations,CN=labvirt*.%= @site 
%.wmnet]
 
 
 # A whitelist of allowed SASL usernames. The format for usernames

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I57d98a639c1abd54a8c7a0d0cdbac2ad1a922475
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] title: qualify var - change (operations/puppet)

2015-06-03 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: title: qualify var
..

title: qualify var

bug: T97251
Change-Id: Ifb44e18dc4b5eb6257d0c7ca47d89bb10020388a
---
M templates/apache/generic_vhost.erb
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/93/215793/1

diff --git a/templates/apache/generic_vhost.erb 
b/templates/apache/generic_vhost.erb
index 315756f..174ca2e 100644
--- a/templates/apache/generic_vhost.erb
+++ b/templates/apache/generic_vhost.erb
@@ -45,7 +45,7 @@
 % end -%
 ServerAdmin %= @server_admin %
 
-Redirect permanent / https://%= title %/
+Redirect permanent / https://%= @title %/
 /VirtualHost
 % end -%
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifb44e18dc4b5eb6257d0c7ca47d89bb10020388a
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] zookeeper_hosts: qualify var - change (operations/puppet)

2015-06-03 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: zookeeper_hosts: qualify var
..

zookeeper_hosts: qualify var

bug: T97251
Change-Id: I8d8f7f05e1b3851c00c4e82c8bd200469f93d35b
---
M manifests/role/analytics/kafka.pp
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/95/215795/1

diff --git a/manifests/role/analytics/kafka.pp 
b/manifests/role/analytics/kafka.pp
index 24c157f..7f61e3d 100644
--- a/manifests/role/analytics/kafka.pp
+++ b/manifests/role/analytics/kafka.pp
@@ -108,7 +108,7 @@
 }
 $zookeeper_hosts  = keys(hiera('zookeeper_hosts'))
 $zookeeper_chroot = /kafka/${kafka_cluster_name}
-$zookeeper_url= inline_template(%= zookeeper_hosts.sort.join(',') 
%%= zookeeper_chroot %)
+$zookeeper_url= inline_template(%= @zookeeper_hosts.sort.join(',') 
%%= zookeeper_chroot %)
 }
 
 # == Class role::analytics::kafka::client

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8d8f7f05e1b3851c00c4e82c8bd200469f93d35b
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] ssl: qualify var - change (operations/puppet)

2015-06-03 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: ssl: qualify var
..

ssl: qualify var

bug: T97251
Change-Id: I673bdc94b3326ca1d4bc1e509d9088ca93771e48
---
M templates/apache/generic_vhost.erb
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/92/215792/1

diff --git a/templates/apache/generic_vhost.erb 
b/templates/apache/generic_vhost.erb
index 315756f..5012a8f 100644
--- a/templates/apache/generic_vhost.erb
+++ b/templates/apache/generic_vhost.erb
@@ -1,6 +1,6 @@
 # This file is managed by Puppet!
 
-% if [true, false].include?(ssl) -%
+% if [true, false].include?(@ssl) -%
 VirtualHost *:80
 ServerName %= @title %
 % if @aliases.length  0 -%
@@ -37,7 +37,7 @@
 /VirtualHost
 % end -%
 
-% if ssl == redirected -%
+% if @ssl == redirected -%
 VirtualHost *:80
 ServerName %= @title %
 % if @aliases.length  0 -%
@@ -49,7 +49,7 @@
 /VirtualHost
 % end -%
 
-% if [true, only, redirected].include?(ssl) -%
+% if [true, only, redirected].include?(@ssl) -%
 VirtualHost *:443
 ServerName %= @title %
 % if @aliases.length  0 -%

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I673bdc94b3326ca1d4bc1e509d9088ca93771e48
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] varnish_instances: qualify var - change (operations/puppet)

2015-06-03 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: varnish_instances: qualify var
..

varnish_instances: qualify var

bug: T97251
Change-Id: Ie7156c7519ecdd2fb92f2ef8627ccd45bfca5e5a
---
M modules/varnish/manifests/htcppurger.pp
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/94/215794/1

diff --git a/modules/varnish/manifests/htcppurger.pp 
b/modules/varnish/manifests/htcppurger.pp
index 9dca451..1d306a3 100644
--- a/modules/varnish/manifests/htcppurger.pp
+++ b/modules/varnish/manifests/htcppurger.pp
@@ -11,7 +11,7 @@
 mode= '0444',
 require = Package['vhtcpd'], # if we go first, we get overwritten
 # TODO: -r ^upload\\.wikimedia\\.org\$ (POSIX ERE, new param for 
class, quoting/escaping will be tricky...)
-content = inline_template('DAEMON_OPTS=-m 239.128.0.112% 
varnish_instances.each do |inst| -% -c %= inst %% end -%'),
+content = inline_template('DAEMON_OPTS=-m 239.128.0.112% 
@varnish_instances.each do |inst| -% -c %= inst %% end -%'),
 }
 
 # Wikimedia used to provide vhtcpd under the name varnishhtcpd with an

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie7156c7519ecdd2fb92f2ef8627ccd45bfca5e5a
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] salt_reactor_options: qualify var - change (operations/puppet)

2015-06-03 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: salt_reactor_options: qualify var
..

salt_reactor_options: qualify var

bug: T97251
Change-Id: I579e7d7f104eb53024699304807b176ace6a584f
---
M modules/salt/templates/reactors/minion_start.sls.erb
M modules/salt/templates/reactors/puppet.sls.erb
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/85/215785/1

diff --git a/modules/salt/templates/reactors/minion_start.sls.erb 
b/modules/salt/templates/reactors/minion_start.sls.erb
index f1464f6..5f0ea0f 100644
--- a/modules/salt/templates/reactors/minion_start.sls.erb
+++ b/modules/salt/templates/reactors/minion_start.sls.erb
@@ -14,7 +14,7 @@
 info = json.loads(f.read())
 f.close()
 if info['key_accepted'] == '0':
-return {'run_puppet': {'cmd.cmd.run': [{'tgt': data['id']}, 
{'arg': ['puppet agent --waitforcert 0 --no-daemonize --server %= 
salt_reactor_options['puppet_server'] % --test; salt-call event.fire_master 
first_run puppet']}]}}
+return {'run_puppet': {'cmd.cmd.run': [{'tgt': data['id']}, 
{'arg': ['puppet agent --waitforcert 0 --no-daemonize --server %= 
@salt_reactor_options['puppet_server'] % --test; salt-call event.fire_master 
first_run puppet']}]}}
 else:
 return {'run_puppet': {'cmd.cmd.run': [{'tgt': data['id']}, 
{'arg': ['salt-call event.fire_master first_run puppet']}]}}
 return {}
diff --git a/modules/salt/templates/reactors/puppet.sls.erb 
b/modules/salt/templates/reactors/puppet.sls.erb
index 96b677d..4fe3692 100644
--- a/modules/salt/templates/reactors/puppet.sls.erb
+++ b/modules/salt/templates/reactors/puppet.sls.erb
@@ -19,7 +19,7 @@
 subprocess.call(['/usr/sbin/puppetca', '-s', data['id']])
 f.write(json.dumps({'key_accepted': '1'}))
 f.close()
-return {'run_puppet': {'cmd.cmd.run': [{'tgt': data['id']}, {'arg': 
['puppet agent --server=%= salt_reactor_options[puppet_server] % --test; 
salt-call event.fire_master run_finished puppet']}]}}
+return {'run_puppet': {'cmd.cmd.run': [{'tgt': data['id']}, {'arg': 
['puppet agent --server=%= @salt_reactor_options[puppet_server] % --test; 
salt-call event.fire_master run_finished puppet']}]}}
 if data['data'] == 'run_finished':
 if os.path.exists(first_run):
 os.unlink(first_run)

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I579e7d7f104eb53024699304807b176ace6a584f
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] nove: qualify vars - change (operations/puppet)

2015-06-03 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: nove: qualify vars
..

nove: qualify vars

Change-Id: I88aa6ab38a02616ca19c1cfbf1078abca7e4084f
---
M modules/openstack/templates/common/nova/libvirtd.conf.erb
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/25/215625/1

diff --git a/modules/openstack/templates/common/nova/libvirtd.conf.erb 
b/modules/openstack/templates/common/nova/libvirtd.conf.erb
index dd9226e..57e2d73 100644
--- a/modules/openstack/templates/common/nova/libvirtd.conf.erb
+++ b/modules/openstack/templates/common/nova/libvirtd.conf.erb
@@ -164,15 +164,15 @@
 
 # Override the default server key file path
 #
-key_file = /var/lib/nova/%= certname %.key
+key_file = /var/lib/nova/%= @certname %.key
 
 # Override the default server certificate file path
 #
-cert_file = /etc/ssl/localcerts/%= certname %.crt
+cert_file = /etc/ssl/localcerts/%= @certname %.crt
 
 # Override the default CA certificate path
 #
-ca_file = %= ca_target %
+ca_file = %= @ca_target %
 
 # Specify a certificate revocation list.
 #

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I88aa6ab38a02616ca19c1cfbf1078abca7e4084f
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] ganglia: qualify vars - change (operations/puppet)

2015-06-03 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: ganglia: qualify vars
..

ganglia: qualify vars

Change-Id: I2cc29cbd7145e90d31f74ca86ed6c73924a6d586
---
M templates/ganglia/gmetad.conf.erb
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/23/215623/1

diff --git a/templates/ganglia/gmetad.conf.erb 
b/templates/ganglia/gmetad.conf.erb
index 73ea152..4709b67 100644
--- a/templates/ganglia/gmetad.conf.erb
+++ b/templates/ganglia/gmetad.conf.erb
@@ -88,7 +88,7 @@
 #   where hostname is the name of this machine, as defined by gethostname().
 
 % if has_variable?(authority_url) then %
-authority %= authority_url %
+authority %= @authority_url %
 % end %
 
 #

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2cc29cbd7145e90d31f74ca86ed6c73924a6d586
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] statistics: qualify vars - change (operations/puppet)

2015-06-03 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: statistics: qualify vars
..

statistics: qualify vars

Change-Id: I00de55c4b929ec6bfc8aa2496a4f57d1ac1183ea
---
M modules/statistics/templates/email-blog-pageviews.erb
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/14/215614/1

diff --git a/modules/statistics/templates/email-blog-pageviews.erb 
b/modules/statistics/templates/email-blog-pageviews.erb
index 1cf2535..c8be617 100644
--- a/modules/statistics/templates/email-blog-pageviews.erb
+++ b/modules/statistics/templates/email-blog-pageviews.erb
@@ -4,7 +4,7 @@
 echo Page view count for the 24 hour period starting at midnight, $DATE UTC 
 $OUTPUT
 echo   $OUTPUT
 
-mysql log -h %= db_host % -p%= db_pass % -u%= db_user % -e 
+mysql log -h %= @db_host % -p%= @db_pass % -u%= @db_user % -e 
 SELECT
COUNT(event_requestUrl) AS count,
DATE(timestamp),
@@ -24,5 +24,5 @@
 
 
 
-cat $OUTPUT | mailx -s Daily Blog Pageviews %= recipient_email %
+cat $OUTPUT | mailx -s Daily Blog Pageviews %= @recipient_email %
 rm $OUTPUT

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I00de55c4b929ec6bfc8aa2496a4f57d1ac1183ea
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] apache: qualify vars - change (operations/puppet)

2015-06-03 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: apache: qualify vars
..

apache: qualify vars

Change-Id: I1a530a8c951d57133f0db29ffa7bd0d71f5039bf
---
M templates/apache/generic_vhost.erb
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/17/215617/1

diff --git a/templates/apache/generic_vhost.erb 
b/templates/apache/generic_vhost.erb
index 0c46d37..315756f 100644
--- a/templates/apache/generic_vhost.erb
+++ b/templates/apache/generic_vhost.erb
@@ -3,7 +3,7 @@
 % if [true, false].include?(ssl) -%
 VirtualHost *:80
 ServerName %= @title %
-% if aliases.length  0 -%
+% if @aliases.length  0 -%
 ServerAlias %= @aliases.join( ) %
 % end -%
 ServerAdmin %= @server_admin %
@@ -40,7 +40,7 @@
 % if ssl == redirected -%
 VirtualHost *:80
 ServerName %= @title %
-% if aliases.length  0 -%
+% if @aliases.length  0 -%
 ServerAlias %= @aliases.join( ) %
 % end -%
 ServerAdmin %= @server_admin %
@@ -52,7 +52,7 @@
 % if [true, only, redirected].include?(ssl) -%
 VirtualHost *:443
 ServerName %= @title %
-% if aliases.length  0 -%
+% if @aliases.length  0 -%
 ServerAlias %= @aliases.join( ) %
 % end -%
 ServerAdmin %= @server_admin %

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1a530a8c951d57133f0db29ffa7bd0d71f5039bf
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] strongswan: fqdn is a fact, qualify - change (operations/puppet)

2015-06-03 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: strongswan: fqdn is a fact, qualify
..

strongswan: fqdn is a fact, qualify

bug: T97251
Change-Id: I4a9ae87fee24be2665af0805605048e986e0b9b9
---
M modules/strongswan/templates/ipsec.conf.erb
1 file changed, 5 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/35/215635/1

diff --git a/modules/strongswan/templates/ipsec.conf.erb 
b/modules/strongswan/templates/ipsec.conf.erb
index fc4bcc4..d132335 100644
--- a/modules/strongswan/templates/ipsec.conf.erb
+++ b/modules/strongswan/templates/ipsec.conf.erb
@@ -1,13 +1,13 @@
 %
 def individual_node(node)
 result = []
-if fqdn != node
-  left_ipv4 = scope.function_ipresolve([fqdn, 4])
+if @fqdn != node
+  left_ipv4 = scope.function_ipresolve([@fqdn, 4])
   right_ipv4 = scope.function_ipresolve([node, 4])
-  left_ipv6 = scope.function_ipresolve([fqdn, 6])
+  left_ipv6 = scope.function_ipresolve([@fqdn, 6])
   right_ipv6 = scope.function_ipresolve([node, 6])
   if left_ipv4 !=  and right_ipv4 != 
-  result  conn #{fqdn}-#{node}_by_ipv4
+  result  conn #{@fqdn}-#{node}_by_ipv4
   result  \tleft=#{left_ipv4} 
   result  \tleftcert=#{puppet_certname}.pem
   result  \tright=#{right_ipv4}
@@ -15,7 +15,7 @@
   result  
   end
   if left_ipv6 !=  and right_ipv6 != 
-  result  conn #{fqdn}-#{node}_by_ipv6
+  result  conn #{@fqdn}-#{node}_by_ipv6
   result  \tleft=#{left_ipv6} 
   result  \tleftcert=#{puppet_certname}.pem
   result  \tright=#{right_ipv6}

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4a9ae87fee24be2665af0805605048e986e0b9b9
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


[MediaWiki-commits] [Gerrit] access: grant aklapper phab-admins - change (operations/puppet)

2015-06-03 Thread Matanya (Code Review)
Matanya has uploaded a new change for review.

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

Change subject: access: grant aklapper phab-admins
..

access: grant aklapper phab-admins

bug: T97642
Change-Id: Ifeb714f2d9761d7e1794541cb598eee71cf151fb
---
M modules/admin/data/data.yaml
1 file changed, 8 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/83/215683/1

diff --git a/modules/admin/data/data.yaml b/modules/admin/data/data.yaml
index 564cff6..151d91b 100644
--- a/modules/admin/data/data.yaml
+++ b/modules/admin/data/data.yaml
@@ -286,7 +286,7 @@
 description: Users who can do sane CLI admin things
  * Remove repositories
  * Manage repositories, phd service, and workers
-members: []
+members: [aklapper]
 privileges: ['ALL = NOPASSWD: /srv/phab/phabricator/bin/remove destroy r*',
  'ALL = NOPASSWD: /srv/phab/phabricator/bin/repository',
  'ALL = NOPASSWD: /srv/phab/phabricator/bin/phd',
@@ -1447,3 +1447,10 @@
 realname: Moushira Elamrawy
 ssh_keys: [ssh-rsa 
B3NzaC1yc2EDAQABAAABAQDlLVCGLVRhQeS0w/xDYFsc53o0t0FV2Vi5MsTv9NlNIVAPvmQOPvLtp55qqb1ix7q2tOktTgFA1yVCW+CfQKoCRqAflAca1CJhNe4xve3FBX2E9zpwjm7ivfKDvfPTRh4ls4n2NdBXke8WKmAbggLE+uaP9G4eIVKy2RKrKZp7EM/25CqxWZe/cRQ9JegmkhVqb2s8s8kEB4aa9to4u4FulCuYyU5WrvCEa4T8oI/mtVQabRO4kjvL5TOdn2tzjnD+4YC9SL4JtcyllVbdpsYa7PpsV9/Ix1MLEqjucFDUVoGd9v5JCsSQclSCxbqn3R7O4bGlYC04WLGBPDpvjaOx
 melamr...@wikimedia.org]
 uid: 12239
+  aklapper:
+ensure: present
+gid: 500
+name: aklapper
+realname: Andre Klapper
+ssh_keys: [ssh-rsa 
B3NzaC1yc2EDAQABAAABAQDcJetpXBY1Co4wCGFujDQsprk67yHKxlK6srxNPulm8RFiy5SKbbsFF+7UKSUGo3F10d5eLXrwtaJtzlZAyX7bIG+TFnqXYUKMgcJj38lgGg17EfFlqd7RepkKcbulNNeLvKFAi2+mYPFXZDfMwYpZ+XyfaZSeOK8pSKOfxgQ9fvuYiymjVX0dBJ4j61CCOqiFI6ObOETnNnasYMYVAcU/fsw87GQs0KNxhpgN57Z+Lk4sxxT62eHXCYoq1U9FSk672vy3MeZ2DzmCksKarAwo60vKwZ4F/LQ7ZAgjU2E7LhjTxvAAuRK+j/1p8teoCGCp9Pe+CUwZFpDSZa1YIXbr
 wmphabprod]
+uid: 2377

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifeb714f2d9761d7e1794541cb598eee71cf151fb
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya mata...@foss.co.il

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


  1   2   3   4   5   6   >