Dzahn has submitted this change and it was merged.

Change subject: Remove notifyNewProjects script
......................................................................


Remove notifyNewProjects script

Do not merge before I94ae0d60 reaches WMF production

Change-Id: I533a92a6b4a6aa0b033cea3e9a84d8e13c5081b8
---
D modules/scap/files/notifyNewProjects
M modules/scap/manifests/scripts.pp
2 files changed, 0 insertions(+), 11 deletions(-)

Approvals:
  Legoktm: Looks good to me, but someone else must approve
  jenkins-bot: Verified
  Dzahn: Looks good to me, approved



diff --git a/modules/scap/files/notifyNewProjects 
b/modules/scap/files/notifyNewProjects
deleted file mode 100755
index bb05e95..0000000
--- a/modules/scap/files/notifyNewProjects
+++ /dev/null
@@ -1,5 +0,0 @@
-#! /bin/bash
-echo "UserMailer::send( new MailAddress( \$wmgAddWikiNotify ),\
- new MailAddress( \$wgPasswordSender ), \"New wiki: $1\",\
-\"A new wiki was created by $USER at $2 for a $3 in $4 ($5).\n\
-Once the wiki is fully set up, it'll be visible at https://$6\";);" | mwscript 
eval.php --wiki=aawiki
diff --git a/modules/scap/manifests/scripts.pp 
b/modules/scap/manifests/scripts.pp
index 9789feb..171d07b 100644
--- a/modules/scap/manifests/scripts.pp
+++ b/modules/scap/manifests/scripts.pp
@@ -57,12 +57,6 @@
         mode    => '0555',
         source  => 'puppet:///modules/scap/mwscriptwikiset',
     }
-    file { '/usr/local/bin/notifyNewProjects':
-        owner   => 'root',
-        group   => 'root',
-        mode    => '0555',
-        source  => 'puppet:///modules/scap/notifyNewProjects',
-    }
     file { '/usr/local/bin/purge-varnish':
         owner   => 'root',
         group   => 'root',

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I533a92a6b4a6aa0b033cea3e9a84d8e13c5081b8
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alex Monk <[email protected]>
Gerrit-Reviewer: Alex Monk <[email protected]>
Gerrit-Reviewer: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: Matanya <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to