From 8485b9340b96c16f47d6de145ceca0d7838d2fdd Mon Sep 17 00:00:00 2001 From: elijah Date: Thu, 18 Apr 2013 10:27:55 -0700 Subject: provider.json 'domain' entry should match the domain suffix of the node. --- provider_base/files/service-definitions/provider.json.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'provider_base/files') diff --git a/provider_base/files/service-definitions/provider.json.erb b/provider_base/files/service-definitions/provider.json.erb index 54919898..bc93fac5 100644 --- a/provider_base/files/service-definitions/provider.json.erb +++ b/provider_base/files/service-definitions/provider.json.erb @@ -4,9 +4,11 @@ # grab some fields from provider.json hsh = global.provider.pick( :languages, :description, :name, - :enrollment_policy, :default_language, :domain, :service + :enrollment_policy, :default_language, :service ) + hsh['domain'] = domain.full_suffix + # advertise services that are 'user services' hsh['services'] = global.services[:service_type => :user_service].field(:name) -- cgit v1.2.3