Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix bugs

  • Loading branch information...
commit 3f4fb5441a2522643af82bdad982603447231fe1 1 parent 742f639
hakim authored
View
4 lib/Dist/Zilla/App/Command/provision.pm
@@ -33,8 +33,8 @@ sub execute {
my @hashes = grep $_, $Provision->{Default}, $Provision->{$name}
or die "No section for <Provision> <$name>, and no <default>";
-
- my %hash = @hashes > 1 ? %{ merge( @hashes ) } : $hashes[0];
+
+ my %hash = @hashes > 1 ? %{ merge( @hashes ) } : %{ $hashes[0] };
my $type = delete $hash{type} || 'Oyster::Provision::Rackspace';
$hash{provision_backend} = $type =~/^Oyster::Provision::/ ? $type : "Oyster::Provision::$type";
View
2  lib/Oyster/Provision/AmazonEC2.pm
@@ -26,7 +26,7 @@ sub ec2 {
unless(defined($key_pairs)) {
- print("Creating $ec2_oyster_key key pair\n");
+ print("Creating $self->ec2_oyster_key key pair\n");
$ec2->create_key_pair({ KeyName => $self->ec2_oyster_key });
}
Please sign in to comment.
Something went wrong with that request. Please try again.