Title: [opsview] [10189] Remove references to send2slaves in upgrade scripts
Revision
10189
Author
tvoon
Date
2012-09-27 16:44:00 +0100 (Thu, 27 Sep 2012)

Log Message

Remove references to send2slaves in upgrade scripts

Modified Paths


Modified: trunk/opsview-core/debian/postinst
===================================================================
--- trunk/opsview-core/debian/postinst	2012-09-27 15:38:59 UTC (rev 10188)
+++ trunk/opsview-core/debian/postinst	2012-09-27 15:44:00 UTC (rev 10189)
@@ -109,9 +109,6 @@
   db_unregister opsview-core/db_rootpass
 
   if [ $opsview_upgrade -eq 1 ]; then
-    echo "Sending new files to slaves..."
-    # send2slaves to update slaves with new opsview code
-    su - nagios -c '/usr/local/nagios/bin/send2slaves'
     su - nagios -c '/usr/local/nagios/bin/populate_db.pl'
   fi
 

Modified: trunk/opsview-core/opsview-core.spec.in
===================================================================
--- trunk/opsview-core/opsview-core.spec.in	2012-09-27 15:38:59 UTC (rev 10188)
+++ trunk/opsview-core/opsview-core.spec.in	2012-09-27 15:44:00 UTC (rev 10189)
@@ -101,8 +101,7 @@
 # Perform upgrades. Do nothing on an install
 if [ "$1" -ge 2 ]; then
   su - nagios -c "%{prefix}/installer/upgradedb.pl" || die "Upgrading database failed, you will have to perform this step manually (run '%{prefix}/installer/upgradedb.pl' as nagios)"
-  su - nagios -c "%{prefix}/bin/send2slaves" || die "Upgrading slaves failed, you will have to perform this step manually (run '%{prefix}/bin/send2slaves' as nagios)"
-  su - nagios -c "%{prefix}/bin/populate_db.pl" || die "Upgrading slaves failed, you will have to perform this step manually (run '%{prefix}/bin/populate_db.pl' as nagios)"
+  su - nagios -c "%{prefix}/bin/populate_db.pl" || die "Updating plugin help failed, you will have to perform this step manually (run '%{prefix}/bin/populate_db.pl' as nagios)"
   if [ -f /tmp/opsview4_upgrade_config_generation.lock ] ; then
     echo "Upgrading to Opsview 4 - you must activate Opsview now before reloading"
   else

Modified: trunk/opsview-core/solaris_pkg/postinstall
===================================================================
--- trunk/opsview-core/solaris_pkg/postinstall	2012-09-27 15:38:59 UTC (rev 10188)
+++ trunk/opsview-core/solaris_pkg/postinstall	2012-09-27 15:44:00 UTC (rev 10189)
@@ -47,7 +47,6 @@
 if [ $? = 0 ]; then
     # run post upgrade steps
     /usr/sbin/chroot $BASEDIR /usr/bin/su - nagios -c /usr/local/nagios/installer/upgradedb.pl || die "Failed to run 'upgradedb.pl'"
-    /usr/sbin/chroot $BASEDIR /usr/bin/su - nagios -c /usr/local/nagios/bin/send2slaves || die "Failed to run 'send2slaves'"
     /usr/sbin/chroot $BASEDIR /usr/bin/su - nagios -c /usr/local/nagios/bin/populate_db.pl || die "Failed to run 'populate_db.pl'"
     if [ -f /tmp/opsview4_upgrade_config_generation.lock ] ; then
         echo "Upgrading to Opsview 4 - you must activate Opsview now before reloading"

_______________________________________________
Opsview-checkins mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-checkins

Reply via email to