From: Marco Fontani Date: Sat, 20 Nov 2010 19:24:14 +0000 (+0000) Subject: As expected by backend X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cb52ec3a6a74e986aa3436b482a2a8c2bb790f9d;p=p5sagit%2FOyster.git As expected by backend --- diff --git a/lib/Dist/Zilla/App/Command/provision.pm b/lib/Dist/Zilla/App/Command/provision.pm index 7f4160a..3df6420 100644 --- a/lib/Dist/Zilla/App/Command/provision.pm +++ b/lib/Dist/Zilla/App/Command/provision.pm @@ -35,7 +35,7 @@ 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) @@ -43,6 +43,7 @@ sub execute { use Oyster::Provision; my $server = Oyster::Provision->new( name => $name, + config => \%hash, %hash, ); $server->create;