Changeset 1767
- Timestamp:
- Nov 25, 2008, 8:10:09 AM (16 years ago)
- Location:
- trunk/packages/xvm-munin-config/debian
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/xvm-munin-config/debian/changelog
r1761 r1767 1 xvm-munin-config (0.0.2) unstable; urgency=low 2 3 [ Quentin Smith ] 4 * Add a monitoring script for domain CPU utilization 5 6 [ Evan Broder ] 7 * Don't just keep adding to the sudoers file 8 9 -- Evan Broder <broder@mit.edu> Tue, 25 Nov 2008 08:08:26 -0500 10 1 11 xvm-munin-config (0.0.1) unstable; urgency=low 2 12 -
trunk/packages/xvm-munin-config/debian/xvm-munin-console-config.postinst
r1761 r1767 23 23 # So munin can read the mail log 24 24 adduser munin adm 25 26 # First clear out the old stuff we threw in /etc/sudoers 27 perl -i.bak -ne 's%^### (BEGIN|END) xvm-munin-config\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers 25 28 26 29 # So munin can sudo to get to postfix queue info -
trunk/packages/xvm-munin-config/debian/xvm-munin-host-config.postinst
r1765 r1767 24 24 adduser munin adm 25 25 26 # First clear out the old stuff we threw in /etc/sudoers 27 perl -i.bak -ne 's%^### (BEGIN|END) xvm-munin-config\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers 28 26 29 # So munin can sudo to get to postfix queue info 30 # and smartctl info 31 # and info about running domains 27 32 cat >>/etc/sudoers <<EOF 28 33 ### BEGIN xvm-munin-config -
trunk/packages/xvm-munin-config/debian/xvm-munin-master-config.postinst
r1761 r1767 23 23 # So munin can read the mail log 24 24 adduser munin adm 25 26 # First clear out the old stuff we threw in /etc/sudoers 27 perl -i.bak -ne 's%^### (BEGIN|END) xvm-munin-config\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers 25 28 26 29 # So munin can sudo to get to postfix queue info -
trunk/packages/xvm-munin-config/debian/xvm-munin-remote-config.postinst
r1761 r1767 23 23 # So munin can read the mail log 24 24 adduser munin adm 25 26 # First clear out the old stuff we threw in /etc/sudoers 27 perl -i.bak -ne 's%^### (BEGIN|END) xvm-munin-config\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers 25 28 26 29 # So munin can sudo to get to postfix queue info
Note: See TracChangeset
for help on using the changeset viewer.