{"action":"created","issue":{"url":"https://api.github.com/repos/documentcloud/documentcloud/issues/327","labels_url":"https://api.github.com/repos/documentcloud/documentcloud/issues/327/labels{/name}","comments_url":"https://api.github.com/repos/documentcloud/documentcloud/issues/327/comments","events_url":"https://api.github.com/repos/documentcloud/documentcloud/issues/327/events","html_url":"https://github.com/documentcloud/documentcloud/issues/327","id":124205759,"number":327,"title":"Define config/sunspot.yml hostname from secrets.yml?","user":{"login":"DavidLemayian","id":877919,"avatar_url":"https://avatars.githubusercontent.com/u/877919?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidLemayian","html_url":"https://github.com/DavidLemayian","followers_url":"https://api.github.com/users/DavidLemayian/followers","following_url":"https://api.github.com/users/DavidLemayian/following{/other_user}","gists_url":"https://api.github.com/users/DavidLemayian/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidLemayian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidLemayian/subscriptions","organizations_url":"https://api.github.com/users/DavidLemayian/orgs","repos_url":"https://api.github.com/users/DavidLemayian/repos","events_url":"https://api.github.com/users/DavidLemayian/events{/privacy}","received_events_url":"https://api.github.com/users/DavidLemayian/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-29T12:39:30Z","updated_at":"2015-12-29T14:42:53Z","closed_at":null,"body":"Just wondering if it would be useful to define the [sunspot hostname](https://github.com/documentcloud/documentcloud/blob/master/config/sunspot.yml#L3) from secrets.yml?\r\n"},"comment":{"url":"https://api.github.com/repos/documentcloud/documentcloud/issues/comments/167802317","html_url":"https://github.com/documentcloud/documentcloud/issues/327#issuecomment-167802317","issue_url":"https://api.github.com/repos/documentcloud/documentcloud/issues/327","id":167802317,"user":{"login":"knowtheory","id":192,"avatar_url":"https://avatars.githubusercontent.com/u/192?v=3","gravatar_id":"","url":"https://api.github.com/users/knowtheory","html_url":"https://github.com/knowtheory","followers_url":"https://api.github.com/users/knowtheory/followers","following_url":"https://api.github.com/users/knowtheory/following{/other_user}","gists_url":"https://api.github.com/users/knowtheory/gists{/gist_id}","starred_url":"https://api.github.com/users/knowtheory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knowtheory/subscriptions","organizations_url":"https://api.github.com/users/knowtheory/orgs","repos_url":"https://api.github.com/users/knowtheory/repos","events_url":"https://api.github.com/users/knowtheory/events{/privacy}","received_events_url":"https://api.github.com/users/knowtheory/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T14:42:53Z","updated_at":"2015-12-29T14:42:53Z","body":"I'd like to, but Sunspot (historically at least) loaded before the Secrets in the app loaded.  Need to double check if that's still the case :) )\r\n\r\n@DavidLemayian if you find out that the secrets are accessible at config time for sunspot we can rearrange the data there."}}