From: Marco Fontani Date: Mon, 22 Nov 2010 18:43:13 +0000 (+0000) Subject: Backend expects a config hashref X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5aee843576f9893e240c0180bf8bbb56212b8216;p=p5sagit%2FOyster.git Backend expects a config hashref --- diff --git a/lib/Dist/Zilla/App/Command/provision.pm b/lib/Dist/Zilla/App/Command/provision.pm index e394b67..f7a42b1 100644 --- a/lib/Dist/Zilla/App/Command/provision.pm +++ b/lib/Dist/Zilla/App/Command/provision.pm @@ -45,10 +45,11 @@ sub execute { $hash{size} ||= 1; # id 1 - ram 256 MiB - disk 10 GiB $hash{image} ||= 69; # id 69 - Ubuntu 10.10 (meerkat) - warn Dumper(\%hash); use Data::Dumper; + use Data::Dumper; warn "Config hash: ", Dumper(\%hash); my $server = Oyster::Provision->new( name => $name, + config => \%hash, %hash, ); $server->create;