forked from RexOps/Rex
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request RexOps#1600 from RexOps/local_package_install
Fix local package install
- Loading branch information
Showing
4 changed files
with
79 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# | ||
# (c) Ferenc Erki <[email protected]> | ||
# | ||
|
||
package Rex::Pkg::Test; | ||
|
||
use v5.12.5; | ||
use warnings; | ||
|
||
our $VERSION = '9999.99.99_99'; # VERSION | ||
|
||
use Rex::Pkg::Base; | ||
use base qw(Rex::Pkg::Base); | ||
|
||
sub new { | ||
my $that = shift; | ||
my $proto = ref($that) || $that; | ||
my $self = $proto->SUPER::new(@_); | ||
|
||
bless $self, $proto; | ||
|
||
$self->{commands} = { install => 'echo %s' }; | ||
|
||
return $self; | ||
} | ||
|
||
1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters