{"action":"created","issue":{"url":"https://api.github.com/repos/solarkennedy/puppet-consul/issues/48","labels_url":"https://api.github.com/repos/solarkennedy/puppet-consul/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/solarkennedy/puppet-consul/issues/48/comments","events_url":"https://api.github.com/repos/solarkennedy/puppet-consul/issues/48/events","html_url":"https://github.com/solarkennedy/puppet-consul/pull/48","id":49037007,"number":48,"title":"Consul reload","user":{"login":"jsok","id":737907,"avatar_url":"https://avatars.githubusercontent.com/u/737907?v=3","gravatar_id":"","url":"https://api.github.com/users/jsok","html_url":"https://github.com/jsok","followers_url":"https://api.github.com/users/jsok/followers","following_url":"https://api.github.com/users/jsok/following{/other_user}","gists_url":"https://api.github.com/users/jsok/gists{/gist_id}","starred_url":"https://api.github.com/users/jsok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsok/subscriptions","organizations_url":"https://api.github.com/users/jsok/orgs","repos_url":"https://api.github.com/users/jsok/repos","events_url":"https://api.github.com/users/jsok/events{/privacy}","received_events_url":"https://api.github.com/users/jsok/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2014-11-17T04:40:49Z","updated_at":"2015-01-11T00:07:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/solarkennedy/puppet-consul/pulls/48","html_url":"https://github.com/solarkennedy/puppet-consul/pull/48","diff_url":"https://github.com/solarkennedy/puppet-consul/pull/48.diff","patch_url":"https://github.com/solarkennedy/puppet-consul/pull/48.patch"},"body":"Adds a `consul::reload` resource and notifies it when any config file changes, rather than restarting the whole service.\r\n\r\nShould alleviate the side-effects of #45."},"comment":{"url":"https://api.github.com/repos/solarkennedy/puppet-consul/issues/comments/69477664","html_url":"https://github.com/solarkennedy/puppet-consul/pull/48#issuecomment-69477664","issue_url":"https://api.github.com/repos/solarkennedy/puppet-consul/issues/48","id":69477664,"user":{"login":"solarkennedy","id":370205,"avatar_url":"https://avatars.githubusercontent.com/u/370205?v=3","gravatar_id":"","url":"https://api.github.com/users/solarkennedy","html_url":"https://github.com/solarkennedy","followers_url":"https://api.github.com/users/solarkennedy/followers","following_url":"https://api.github.com/users/solarkennedy/following{/other_user}","gists_url":"https://api.github.com/users/solarkennedy/gists{/gist_id}","starred_url":"https://api.github.com/users/solarkennedy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solarkennedy/subscriptions","organizations_url":"https://api.github.com/users/solarkennedy/orgs","repos_url":"https://api.github.com/users/solarkennedy/repos","events_url":"https://api.github.com/users/solarkennedy/events{/privacy}","received_events_url":"https://api.github.com/users/solarkennedy/received_events","type":"User","site_admin":false},"created_at":"2015-01-11T00:07:03Z","updated_at":"2015-01-11T00:07:03Z","body":"But https://github.com/solarkennedy/puppet-consul/pull/48/files#diff-60ae41fd0a31977447947f59940ee9a4L84 operates on the entire config class.\r\n\r\nSo when a service changes, the service will reload *and* restart.\r\n\r\nI think to do this right you have to turn the ~> into a ->, and make sure the config file directly notifies the run_service."}}