{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry/bosh-agent/issues/15","labels_url":"https://api.github.com/repos/cloudfoundry/bosh-agent/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/bosh-agent/issues/15/comments","events_url":"https://api.github.com/repos/cloudfoundry/bosh-agent/issues/15/events","html_url":"https://github.com/cloudfoundry/bosh-agent/issues/15","id":70795794,"number":15,"title":"Can't use File source without registry.","user":{"login":"allomov","id":122246,"avatar_url":"https://avatars.githubusercontent.com/u/122246?v=3","gravatar_id":"","url":"https://api.github.com/users/allomov","html_url":"https://github.com/allomov","followers_url":"https://api.github.com/users/allomov/followers","following_url":"https://api.github.com/users/allomov/following{/other_user}","gists_url":"https://api.github.com/users/allomov/gists{/gist_id}","starred_url":"https://api.github.com/users/allomov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allomov/subscriptions","organizations_url":"https://api.github.com/users/allomov/orgs","repos_url":"https://api.github.com/users/allomov/repos","events_url":"https://api.github.com/users/allomov/events{/privacy}","received_events_url":"https://api.github.com/users/allomov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-24T21:16:46Z","updated_at":"2015-04-27T03:35:14Z","closed_at":null,"body":"You can set the agent to read settings from file using following config options:\r\n```yaml\r\n{\r\n  ...\r\n  \"Infrastructure\": {\r\n    \"Settings\": {\r\n      \"Sources\": [\r\n        {\r\n          \"Type\": \"File\",\r\n          \"MetaDataPath\": \"/home/vcap/metadata\",\r\n          \"UserDataPath\": \"/home/vcap/userdata\",\r\n          \"SettingsPath\": \"/home/vcap/settings\"\r\n        }\r\n      ]\r\n    }\r\n  }\r\n}\r\n```\r\nWithout `UseRegistry` option you'll get [this error](https://github.com/cloudfoundry/bosh-agent/blob/master/infrastructure/settings_source_factory.go#L156): `File source is not supported without registry`.\r\n\r\nCould you tell if there is any actual reason to restrict to read settings from file if you don't use registry?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cloudfoundry/bosh-agent/issues/comments/96488762","html_url":"https://github.com/cloudfoundry/bosh-agent/issues/15#issuecomment-96488762","issue_url":"https://api.github.com/repos/cloudfoundry/bosh-agent/issues/15","id":96488762,"user":{"login":"cppforlife","id":185847,"avatar_url":"https://avatars.githubusercontent.com/u/185847?v=3","gravatar_id":"","url":"https://api.github.com/users/cppforlife","html_url":"https://github.com/cppforlife","followers_url":"https://api.github.com/users/cppforlife/followers","following_url":"https://api.github.com/users/cppforlife/following{/other_user}","gists_url":"https://api.github.com/users/cppforlife/gists{/gist_id}","starred_url":"https://api.github.com/users/cppforlife/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cppforlife/subscriptions","organizations_url":"https://api.github.com/users/cppforlife/orgs","repos_url":"https://api.github.com/users/cppforlife/repos","events_url":"https://api.github.com/users/cppforlife/events{/privacy}","received_events_url":"https://api.github.com/users/cppforlife/received_events","type":"User","site_admin":false},"created_at":"2015-04-27T03:35:14Z","updated_at":"2015-04-27T03:35:14Z","body":"@allomov We'll take a PR for making FileSettingsSource without registry."}}