Permalink
Browse files

Add boolean login_enabled to check for existence of login server

  • Loading branch information...
1 parent e71731d commit 069a42154edc443406009e6558b7731f83b833fd @dsyer dsyer committed with d Feb 16, 2013
@@ -98,8 +98,11 @@ database_environment:
<% scheme = properties.uaa.no_ssl ? "http" : "https" %>
+<% login_enabled = p("login.enabled", true) %>
+<% if login_enabled %>
login:
url: <%= scheme %>://login.<%= properties.domain %>
+<% end %>
<% if cc_props.uaa && properties.uaa.cc %>
uaa:
enabled: <%= cc_props.uaa.enabled %>
@@ -72,8 +72,11 @@ redis:
<% scheme = properties.uaa.no_ssl ? "http" : "https" %>
+<% login_enabled = p("login.enabled", true) %>
+<% if login_enabled %>
login:
url: <%= scheme %>://login.<%= p("domain") %>
+<% end %>
uaa:
url: <%= scheme %>://uaa.<%= p("domain") %>
resource_id: <%= p("ccng.uaa_resource_id") %>

0 comments on commit 069a421

Please sign in to comment.