]> git.etc.gen.nz Git - app-bcvi-autoinstall.git/commitdiff
Update to wrap new functions in bcvi.
authorAndrew Ruthven <andrew@etc.gen.nz>
Tue, 7 Sep 2010 00:24:15 +0000 (12:24 +1200)
committerAndrew Ruthven <andrew@etc.gen.nz>
Tue, 7 Sep 2010 00:24:15 +0000 (12:24 +1200)
lib/App/BCVI/AutoInstall.pm

index 6de81e59f2ff5934a858ec4c2231bcb052477cf2..630a8c06a2d37e5b4b7e976dfef51389f4ad0933 100644 (file)
@@ -7,14 +7,14 @@ use App::BCVI::InstallManager;
 
 our $VERSION = '0.1';
 
-sub wrap_ssh {
-    my ($self, @args_in) = @_;
+sub execute_wrapped_ssh {
+    my ($self, $target, @args) = @_;
 
-    my $sig = $self->get_install_signature($host);
+    my $sig = $self->get_install_signature($target);
     if (! defined $sig) {
-      $self->install_to_host($host);
+      $self->install_to_host($target);
     }
-    $self->SUPER::wrap_ssh(@args_in);
+    $self->SUPER::execute_wrapped_ssh($target, @args);
 }
 
 App::BCVI->hook_client_class();