Index: trunk/debs/wikimedia-base/debian/control |
— | — | @@ -9,7 +9,7 @@ |
10 | 10 | Architecture: all |
11 | 11 | Origin: Wikimedia |
12 | 12 | Pre-Depends: ntp-server, smartmontools |
13 | | -Depends: ${shlibs:Depends}, ${misc:Depends}, openssh-server, sysstat, zsh, vim, joe, traceroute, screen, ntp-simple, ssmtp | mail-transport-agent |
| 13 | +Depends: ${shlibs:Depends}, ${misc:Depends}, openssh-server, sysstat, zsh, vim, joe, traceroute, screen, gdb, ntp-simple, ssmtp | mail-transport-agent |
14 | 14 | Description: Base requirements for any Wikimedia server |
15 | 15 | wikimedia-base provides the Wikimedia specific base requirements |
16 | 16 | for any Wikimedia server. Currently that involves: |
Index: trunk/debs/wikimedia-base/debian/postinst |
— | — | @@ -73,6 +73,13 @@ |
74 | 74 | invoke-rc.d ntp-server restart || invoke-rc.d ntp restart |
75 | 75 | fi |
76 | 76 | |
| 77 | + # Remote syslogging |
| 78 | + if [ $CLUSTERNAME = "pmtpa" ] && ! grep -q "@syslog\.pmtpa\.wmnet" /etc/syslog.conf |
| 79 | + then |
| 80 | + echo "*.info;mail.none;authpriv.none;cron.none @syslog.pmtpa.wmnet" >> /etc/syslog.conf |
| 81 | + invoke-rc.d sysklogd restart |
| 82 | + fi |
| 83 | + |
77 | 84 | # Optimize TCP |
78 | 85 | if ! grep -q "^### START: Added by wikimedia-base" /etc/sysctl.conf |
79 | 86 | then |
Index: trunk/debs/wikimedia-base/debian/changelog |
— | — | @@ -1,3 +1,11 @@ |
| 2 | +wikimedia-base (0.16) dapper; urgency=low |
| 3 | + |
| 4 | + * Automatically configure remote syslogging to syslog.pmtpa.wmnet on pmtpa |
| 5 | + servers |
| 6 | + * Depend on gdb |
| 7 | + |
| 8 | + -- Mark Bergsma <mark@wikimedia.org> Tue, 28 Aug 2007 15:16:18 +0000 |
| 9 | + |
2 | 10 | wikimedia-base (0.15) dapper; urgency=low |
3 | 11 | |
4 | 12 | * ntp-server renamed to ntp in Ubuntu Feisty, support both. |