From: Marco Fontani Date: Sun, 21 Nov 2010 23:37:25 +0000 (+0000) Subject: TODO provision should add server name to ssh_config X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FOyster.git;a=commitdiff_plain;h=6a2079a39d16a88ec15a2092cd5358eabc148ce2 TODO provision should add server name to ssh_config --- diff --git a/lib/Oyster/Provision.pm b/lib/Oyster/Provision.pm index 38b8b43..2e4590d 100644 --- a/lib/Oyster/Provision.pm +++ b/lib/Oyster/Provision.pm @@ -10,6 +10,10 @@ has 'image' => ( is => 'ro', isa => 'Str'); has 'pub_ssh' => ( is => 'ro', isa => 'Str'); 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 +# user's ~/.ssh/ssh_config file so any part of Oyster can ssh there +# passwordlessly for deploying or whatnot + sub BUILD { my $self = shift;