From: Marco Fontani Date: Sat, 20 Nov 2010 18:54:54 +0000 (+0000) Subject: Correct defaults for Rackspace X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1e51e0bd6c7586bfcb9bd86ccc65d59285efa258;p=p5sagit%2FOyster.git Correct defaults for Rackspace --- diff --git a/lib/Dist/Zilla/App/Command/provision.pm b/lib/Dist/Zilla/App/Command/provision.pm index e5a8837..963f9a5 100644 --- a/lib/Dist/Zilla/App/Command/provision.pm +++ b/lib/Dist/Zilla/App/Command/provision.pm @@ -30,15 +30,15 @@ sub execute { my $Provision = $cfg->{Provision} or die "No section"; my $target = $Provision->{$name} or die "No section for <$name>"; - my $type = $target->{type} || 'EC2'; + my $type = $target->{type} || 'Rackspace'; use Oyster::Provision; my $server = Oyster::Provision->new( - name => $name, - size => '256', - image => 'Meerkat', - pub_ssh => "$ENV{HOME}/.ssh/id_rsa.pub", - provision_backend => $type, + name => $name, + size => 1, # id 1 - ram 256 MiB - disk 10 GiB + image => 69, # id 69 - Ubuntu 10.10 (meerkat) + pub_ssh => "$ENV{HOME}/.ssh/id_rsa.pub", + provision_backend => $type, ); $server->create; print "Instance $name created! ($server)\n";