Changeset 698

Show
Ignore:
Timestamp:
01/08/08 16:21:28 (10 months ago)
Author:
ton
Message:

Fixed regression in send2slaves [-p|-s] where it would fail because
of missing bin/install_slave in tarball

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/CHANGES

    r685 r698  
    66        Allow overrides in nagios.cfg and cgi.cfg if the parameter has been commented out 
    77        Improve speed of HH database downtime queries 
     8        Fixed regression in send2slaves [-p | -s] 
     9        Fixed issue if NSCA receives a result from slave before Nagios creates nagios.cmd file 
    810 
    9112.10.1 17th December 2007 
  • trunk/opsview-core/bin/send2slaves

    r74 r698  
    119119# Create tar of all requisite files 
    120120my $dirs; 
    121 my $install_opts = "-r";       # Restart Opsview 
     121my $install_opts = "-nr";      # Restart Opsview and tell it to use latest install_slave 
    122122if ($opts->{p}) { 
    123123        $dirs = "libexec"; 
     
    192192                        next; 
    193193                } 
    194                 $sudo = "sudo $install -n $install_opts '~/opsview.tar'"; 
     194                $sudo = "sudo $install $install_opts '~/opsview.tar'"; 
    195195        } elsif ($rc == 0) { 
    196196                # Does exist and supports -h 
     
    201201                        next; 
    202202                } 
    203                 $sudo = "sudo $install -n $install_opts"; 
     203                $sudo = "sudo $install $install_opts"; 
    204204        } else { 
    205205                warn("Strange error here: not expecting return code $?");