cloudfoundry/vmc — pull request #45 by schinen (2012-01-24 02:14:59+00:00)
Title: Add support runtime option to vmc manifest command.

Hi.

Current vmc　manifest command is not working runtime option.
This pull request add runtmie option feature to vmc manifest command.

>vmc manifest
Configure for which application? [.]:
Application Name: env
Application Deployed URL [env.vcap.me]:
Detected a Sinatra Application, is this correct? [Yn]:
Use Ruby 1.8.7 as a default runtime, Would you like to use other runtime? [yN]: y
1: Ruby 1.8.7
2: Ruby 1.9.2
Select Runtime [Ruby 1.8.7]: 2
Selected Ruby 1.9.2
Memory reservation (128M, 256M, 512M, 1G, 2G) [128M]:
How many instances? [1]:
Would you like to bind any services to 'env'? [yN]:
Configure for another application? [yN]:
Manifest written to manifest.yml.

>type manifest.yml
---
applications:
.:
name: env
url: ${name}.${target-base}
framework:
name: sinatra
info:
mem: 128M
description: Sinatra Application
exec: ruby app.rb
runtime: ruby19
mem: 128M
instances: 1

This pull request depends on following small improvement for staging plugin.
https://github.com/cloudfoundry/vcap/pull/169

Thanks.