use warnings;
use strict;
-use App::BCVI::InstallManager;
-
our $VERSION = '0.1';
sub execute_wrapped_ssh {
my ($self, $target, @args) = @_;
- my $sig = $self->get_install_signature($target);
- if (! defined $sig) {
- $self->install_to_host($target);
+ if ($self->can("get_install_signature")) {
+ my $sig = $self->get_install_signature($target);
+ if (! defined $sig) {
+ $self->install_to_host($target);
+ }
+ } else {
+ warn "App::BCVI::AutoInstall can only function if App::BCVI::InstallManager is installed.\n";
}
$self->SUPER::execute_wrapped_ssh($target, @args);
}