deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Lutterkort <lut...@redhat.com>
Subject Re: [PATCH core 14/51] Core: Added possiblity to list all Rabbit defined routes by rake rabbit:routes
Date Tue, 22 May 2012 23:22:53 GMT
On Mon, 2012-05-21 at 12:06 +0200, mfojtik@redhat.com wrote:
> From: Michal Fojtik <mfojtik@redhat.com>
> 
> 
> Signed-off-by: Michal fojtik <mfojtik@redhat.com>
> ---
>  server/Rakefile |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 51 insertions(+)
> 
> diff --git a/server/Rakefile b/server/Rakefile
> index 147cdcf..5d205ce 100644
> --- a/server/Rakefile
> +++ b/server/Rakefile
> @@ -193,3 +193,54 @@ namespace :mock do
>  
>    end
>  end
> +
> +namespace :openshift do
> +
> +  desc "Deploy Deltacloud API to OpenShift"
> +  task :deploy do
> +    print "RHN or OpenShift login with OpenShift Express access: "
> +    STDOUT.flush
> +    login = STDIN.gets.chomp
> +    print "Password: "
> +    system "stty -echo"
> +    password = STDIN.gets.chomp
> +    system "stty echo"
> +    puts `rhc-create-app --rhlogin #{login} --app deltacloudtest --password '#{password}'
--type ruby-1.8`
> +  end
> +end

Oooh .. nice

David



Mime
View raw message