/[Sack]/trunk/lib/Sack/Lorry.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/Sack/Lorry.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 158 by dpavlin, Fri Oct 9 19:44:41 2009 UTC revision 159 by dpavlin, Fri Oct 23 13:08:45 2009 UTC
# Line 330  sub update_node { Line 330  sub update_node {
330                  my $host = $self->{port_on_host}->{$port} || die "no port $port in ",dump $self;                  my $host = $self->{port_on_host}->{$port} || die "no port $port in ",dump $self;
331                  next if $host =~ m{(localhost|127\.)};                  next if $host =~ m{(localhost|127\.)};
332                  next if $updated->{$host}++;                  next if $updated->{$host}++;
333                  warn "update $host $Sack::VERSION\n";                  warn "update [$port] on $host to $Sack::VERSION\n";
334                  system("find /srv/Sack/ | cpio --create | ssh -F etc/lib.ssh $host cpio --extract --make-directories --unconditional") == 0 and $self->restart_nodes( $port );                  system("find /srv/Sack/ | cpio --create | ssh -F etc/lib.ssh $host cpio --extract --make-directories --unconditional") == 0 and $self->restart_nodes( $port );
335          }          }
336  }  }

Legend:
Removed from v.158  
changed lines
  Added in v.159

  ViewVC Help
Powered by ViewVC 1.1.26