From: Marco Fontani Date: Mon, 22 Nov 2010 18:43:30 +0000 (+0000) Subject: Config hashref should be given to all backends X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ed86efb058625636ad03f42e14c254c9af4f1261;p=p5sagit%2FOyster.git Config hashref should be given to all backends --- diff --git a/lib/Oyster/Provision.pm b/lib/Oyster/Provision.pm index af3aac8..85ef38a 100644 --- a/lib/Oyster/Provision.pm +++ b/lib/Oyster/Provision.pm @@ -8,6 +8,7 @@ has 'name' => ( is => 'ro', isa => 'Str'); has 'size' => ( is => 'ro', isa => 'Str'); has 'image' => ( is => 'ro', isa => 'Str'); has 'pub_ssh' => ( is => 'ro', isa => 'Str'); +has 'config' => ( is => 'rw', isa => 'HashRef', required => 1 ); has 'provision_backend' => (is => 'rw', isa => 'Str', required => 1, default => 'Oyster::Provision::Rackspace' ); # TODO after provision, add the server's name with "oyster-" prefixed to the