r69510 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69509‎ | r69510 | r69511 >
Date:14:56, 18 July 2010
Author:mark
Status:deferred
Tags:
Comment:
wikimedia-raid-utils (1.8-2) hardy; urgency=low

* Removed sudoers modification as it's broken; let's do this with Puppet
Modified paths:
  • /trunk/debs/wikimedia-raid-utils/debian/changelog (modified) (history)
  • /trunk/debs/wikimedia-raid-utils/debian/postinst (deleted) (history)

Diff [purge]

Index: trunk/debs/wikimedia-raid-utils/debian/postinst
@@ -1,15 +0,0 @@
2 -#!/bin/bash
3 -
4 -if [ "$1" = configure ]; then
5 - if ! grep -q wikimedia-raid-utils /etc/sudoers;then
6 - chmod 640 /etc/sudoers
7 - cat > /etc/sudoers <<end
8 -
9 -## Added by wikimedia-raid-utils
10 -nagios ALL=NOPASSWD: /usr/bin/check-raid.py ""
11 -## End wikimedia-raid-utils
12 -end
13 - chmod 440 /etc/sudoers
14 - fi
15 -fi
16 -
Index: trunk/debs/wikimedia-raid-utils/debian/changelog
@@ -1,3 +1,9 @@
 2+wikimedia-raid-utils (1.8-2) hardy; urgency=low
 3+
 4+ * Removed sudoers modification as it's broken; let's do this with Puppet
 5+
 6+ -- Mark Bergsma <mark@wikimedia.org> Sun, 18 Jul 2010 14:45:36 +0000
 7+
28 wikimedia-raid-utils (1.8) lucid; urgency=low
39
410 * Added Linux software RAID support

Status & tagging log