r59462 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59461‎ | r59462 | r59463 >
Date:16:59, 26 November 2009
Author:mark
Status:ok
Tags:
Comment:
wikimedia-task-search (1.04) hardy; urgency=low

* Remove dependency on wikimedia-nis-client, assume this is managed by
puppet
* Remove sudoers file, also managed by puppet
Modified paths:
  • /trunk/debs/wikimedia-task-search/debian/changelog (modified) (history)
  • /trunk/debs/wikimedia-task-search/debian/conffiles (modified) (history)
  • /trunk/debs/wikimedia-task-search/debian/control (modified) (history)
  • /trunk/debs/wikimedia-task-search/debian/rules (modified) (history)
  • /trunk/debs/wikimedia-task-search/sudoers (deleted) (history)

Diff [purge]

Index: trunk/debs/wikimedia-task-search/sudoers
@@ -1,45 +0,0 @@
2 -# sudoers file.
3 -#
4 -# *******************************************
5 -# WIKIMEDIA SYSTEM ADMINISTRATORS PLEASE NOTE
6 -# *******************************************
7 -# Please edit /home/config/others/etc/sudoers and copy to /etc on all machines with dshroot
8 -#
9 -# See the sudoers man page for the details on how to write a sudoers file.
10 -#
11 -# vim: sts=0 noet ts=8
12 -
13 -# User alias specification
14 -User_Alias ADMINS = %wikidev
15 -User_Alias WIKIUSER = apache,%wikidev
16 -
17 -# Cmnd alias specification
18 -Cmnd_Alias ADMIN_COMMANDS = \
19 - /usr/sbin/apache2ctl, \
20 - /etc/init.d/apache2, \
21 - /home/wikipedia/sbin/apache-kill-it, \
22 - /home/wikipedia/sbin/sync-common-it, \
23 - /home/wikipedia/sbin/sync-common-php, \
24 - /home/wikipedia/sbin/scap15-2, \
25 - /home/wikipedia/sbin/unscap-2, \
26 - /home/wikipedia/sbin/set-group-write2, \
27 - /usr/bin/renice
28 -
29 -# User privilege specification
30 -root ALL=(ALL) ALL
31 -ADMINS ALL= NOPASSWD: ADMIN_COMMANDS
32 -WIKIUSER ALL=NOPASSWD: /home/wikipedia/sbin/wikiuser_pass_real
33 -
34 -Cmnd_Alias SEARCH = /etc/init.d/lsearchd
35 -rainman ALL=NOPASSWD: SEARCH
36 -
37 -# Uncomment to allow people in group wheel to run all commands
38 -# %wheel ALL=(ALL) ALL
39 -
40 -# Same thing without a password
41 -# %wheel ALL=(ALL) NOPASSWD: ALL
42 -
43 -# Samples
44 -# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
45 -# %users localhost=/sbin/shutdown -h now
46 -
Index: trunk/debs/wikimedia-task-search/debian/control
@@ -7,7 +7,7 @@
88
99 Package: wikimedia-task-search
1010 Architecture: all
11 -Depends: wikimedia-nis-client, wikimedia-lvs-realserver, openjdk-6-jdk | sun-java6-jdk, ant, curl
 11+Depends: wikimedia-lvs-realserver, openjdk-6-jdk | sun-java6-jdk, ant, curl
1212 Replaces: wikimedia-task-appserver
1313 Description: Wikimedia search server
1414 This package depends on all packages needed to setup a standard
Index: trunk/debs/wikimedia-task-search/debian/changelog
@@ -1,3 +1,11 @@
 2+wikimedia-task-search (1.04) hardy; urgency=low
 3+
 4+ * Remove dependency on wikimedia-nis-client, assume this is managed by
 5+ puppet
 6+ * Remove sudoers file, also managed by puppet
 7+
 8+ -- Mark Bergsma <mark@wikimedia.org> Thu, 26 Nov 2009 16:54:05 +0000
 9+
210 wikimedia-task-search (1.03) hardy; urgency=low
311
412 * Increase the memory limit to 3 GB
Index: trunk/debs/wikimedia-task-search/debian/conffiles
@@ -1 +0,0 @@
2 -/etc/sudoers
Index: trunk/debs/wikimedia-task-search/debian/rules
@@ -48,7 +48,6 @@
4949 dh_installdirs
5050 dh_link
5151
52 - install -m 0400 sudoers $(DESTDIR)/etc/
5352 install -m 0755 debian/init.d $(DESTDIR)/etc/init.d/lsearchd
5453 install debian/logrotate $(DESTDIR)/etc/logrotate.d/wikimedia-task-search
5554

Status & tagging log