lib/engineyard-metadata/chef_dna.rb in engineyard-metadata-0.0.5 vs lib/engineyard-metadata/chef_dna.rb in engineyard-metadata-0.0.6
- old
+ new
@@ -38,9 +38,14 @@
# For newly deployed applications, equal to the application name.
def database_name
data['engineyard']['environment']['apps'][0]['database_name']
end
+
+ # The git repository that you told EngineYard to use for this application.
+ def repository_uri
+ data['engineyard']['environment']['apps'][0]['repository_name']
+ end
# Public hostname where you should connect to the database.
#
# Currently the db master public hostname.
def database_host