Initialisations and preinstallation
[p5sagit/Oyster.git] / lib / Oyster / Provision.pm
index 85ef38a..ca9d5bf 100644 (file)
@@ -2,8 +2,6 @@ package Oyster::Provision;
 
 use Moose;
 
-has 'api_username' => ( is => 'ro', isa => 'Str');
-has 'api_password' => ( is => 'ro', isa => 'Str');
 has 'name'    => ( is => 'ro', isa => 'Str');
 has 'size'    => ( is => 'ro', isa => 'Str');
 has 'image'   => ( is => 'ro', isa => 'Str');
@@ -36,9 +34,9 @@ Oyster::Provision - Provision an Oyster
 =head1 SYNOPSIS
 
     my $server = Oyster::Provision->new(
-        name => 'Ostrica',
-        size => '256',
-        image => 'Meerkat',
+        name    => 'Ostrica',
+        size    => '1',     # 256 MiB RAM
+        image   => '69',    # Ubuntu 10.10 Maverick
         pub_ssh => "$ENV{HOME}/.ssh/id_rsa.pub",
     );
     $server->create;