SPECS: nagios-notify.spec - sample commands for upgrade
glen
glen at pld-linux.org
Tue Nov 4 00:43:13 CET 2008
Author: glen Date: Mon Nov 3 23:43:13 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- sample commands for upgrade
---- Files affected:
SPECS:
nagios-notify.spec (1.20 -> 1.21)
---- Diffs:
================================================================
Index: SPECS/nagios-notify.spec
diff -u SPECS/nagios-notify.spec:1.20 SPECS/nagios-notify.spec:1.21
--- SPECS/nagios-notify.spec:1.20 Tue Nov 4 00:32:30 2008
+++ SPECS/nagios-notify.spec Tue Nov 4 00:43:08 2008
@@ -88,6 +88,16 @@
cp -a $f $o
fi
done
+%banner -e %{name}-0.12 <<'EOF'
+Templates have been renamed to follow Nagios 3.0 naming.
+
+They have been recovered by rpm trigger, but if you want to use new style
+naming these commands might help you out quickly:
+
+# grep -r host-notify-by- /etc/nagios -l | xargs sed -i -e 's,host-notify-by-,notify-host-by-,g'
+# grep -r notify-by- /etc/nagios -l | xargs sed -i -e 's,notify-by-,notify-service-by-,g'
+
+EOF
%files
%defattr(644,root,root,755)
@@ -102,6 +112,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.21 2008/11/03 23:43:08 glen
+- sample commands for upgrade
+
Revision 1.20 2008/11/03 23:32:30 glen
- update to 0.12
- NOTE: templates have been renamed (trigger handles smooth upgrade)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/nagios-notify.spec?r1=1.20&r2=1.21&f=u
More information about the pld-cvs-commit
mailing list