- postgresql_extension "#{database_name}_btree_gist" do
- cluster "9.3/main"
- database database_name
- extension "btree_gist"
- end
-
- 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.3/main"][:port]
- database_name database_name
- database_username "apis"
- run_migrations true
- end