Permalink
Browse files

As expected by backend

  • Loading branch information...
1 parent 6c983a4 commit cb52ec3a6a74e986aa3436b482a2a8c2bb790f9d @mfontani mfontani committed Nov 20, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/Dist/Zilla/App/Command/provision.pm
@@ -35,14 +35,15 @@ sub execute {
my %hash = @hashes > 1 ? %{ merge( @hashes ) } : $hashes[0];
- $hash{provision_backend} = delete $hash{type} || 'Rackspace';
+ $hash{provision_backend} = delete $hash{type} || 'Oyster::Provision::Rackspace';
$hash{pub_ssh} ||= "$ENV{HOME}/.ssh/id_rsa.pub";
$hash{size} ||= 1; # id 1 - ram 256 MiB - disk 10 GiB
$hash{image} ||= 69; # id 69 - Ubuntu 10.10 (meerkat)
use Oyster::Provision;
my $server = Oyster::Provision->new(
name => $name,
+ config => \%hash,
%hash,
);
$server->create;

0 comments on commit cb52ec3

Please sign in to comment.