1 package Oyster::Provision;
6 return {provision_backend => 'Oyster::Provision::Rackspace'};
13 my $role = $self->config()->{provision_backend};
16 "$role"->meta->apply($self);
25 Oyster::Provision - Provision an Oyster
29 my $server = Oyster::Provision->new(
33 pub_ssh => "$ENV{HOME}/.ssh/id_rsa.pub",
39 By default, the L<Oyster::Provision::Rackspace> backend
42 Each backend needs to accept at least the C<name>,
43 C<size>, C<image> and C<pub_ssh> parameters. The meaning
44 of these parameters may differ from one backend to another.
48 Each backend usually implements the following C<required>
55 Creates a new server by given name, if such server does
58 Installs the required packages for the distribution
62 Gets rid of the server instance
66 Hopefully scales the server