- rails_port site_name do
- ruby node[:passenger][:ruby_version]
- directory rails_directory
- user "apis"
- group "apis"
- repository details[:repository]
- revision details[:revision]
- database_port node[:postgresql][:clusters][:"9.1/main"][:port]
- database_name database_name
- database_username "apis"
- run_migrations true
- end