{"action":"created","issue":{"url":"https://api.github.com/repos/johnbellone/consul-cookbook/issues/92","labels_url":"https://api.github.com/repos/johnbellone/consul-cookbook/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/johnbellone/consul-cookbook/issues/92/comments","events_url":"https://api.github.com/repos/johnbellone/consul-cookbook/issues/92/events","html_url":"https://github.com/johnbellone/consul-cookbook/pull/92","id":49623865,"number":92,"title":"The service_user and group option were being locally overriden in the service","user":{"login":"ericfode","id":50846,"avatar_url":"https://avatars.githubusercontent.com/u/50846?v=3","gravatar_id":"","url":"https://api.github.com/users/ericfode","html_url":"https://github.com/ericfode","followers_url":"https://api.github.com/users/ericfode/followers","following_url":"https://api.github.com/users/ericfode/following{/other_user}","gists_url":"https://api.github.com/users/ericfode/gists{/gist_id}","starred_url":"https://api.github.com/users/ericfode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericfode/subscriptions","organizations_url":"https://api.github.com/users/ericfode/orgs","repos_url":"https://api.github.com/users/ericfode/repos","events_url":"https://api.github.com/users/ericfode/events{/privacy}","received_events_url":"https://api.github.com/users/ericfode/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/johnbellone/consul-cookbook/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2014-11-20T21:59:40Z","updated_at":"2015-03-04T22:47:32Z","closed_at":"2014-12-11T12:06:44Z","pull_request":{"url":"https://api.github.com/repos/johnbellone/consul-cookbook/pulls/92","html_url":"https://github.com/johnbellone/consul-cookbook/pull/92","diff_url":"https://github.com/johnbellone/consul-cookbook/pull/92.diff","patch_url":"https://github.com/johnbellone/consul-cookbook/pull/92.patch"},"body":"recipe and causing problems when being used with watch resources on centos. \nthe workaround was to set the user and group explicitly to root.\n\nTo fix it i moved the logic for determining the user to use out to the \nattributes file."},"comment":{"url":"https://api.github.com/repos/johnbellone/consul-cookbook/issues/comments/77267437","html_url":"https://github.com/johnbellone/consul-cookbook/pull/92#issuecomment-77267437","issue_url":"https://api.github.com/repos/johnbellone/consul-cookbook/issues/92","id":77267437,"user":{"login":"donaldguy","id":43136,"avatar_url":"https://avatars.githubusercontent.com/u/43136?v=3","gravatar_id":"","url":"https://api.github.com/users/donaldguy","html_url":"https://github.com/donaldguy","followers_url":"https://api.github.com/users/donaldguy/followers","following_url":"https://api.github.com/users/donaldguy/following{/other_user}","gists_url":"https://api.github.com/users/donaldguy/gists{/gist_id}","starred_url":"https://api.github.com/users/donaldguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donaldguy/subscriptions","organizations_url":"https://api.github.com/users/donaldguy/orgs","repos_url":"https://api.github.com/users/donaldguy/repos","events_url":"https://api.github.com/users/donaldguy/events{/privacy}","received_events_url":"https://api.github.com/users/donaldguy/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T22:47:32Z","updated_at":"2015-03-04T22:47:32Z","body":"yeah, no luck doing\r\n```\r\ncompile_time do\r\n  node.default['consul']['init_style'] = 'runit'\r\nend\r\n```\r\n\r\nI think I'm just gonna have to manually (re)set `service_user` and `service_group` myself, but even that may probably has to be done at compile time to propagate from a wrapper cookbook and I'm not 100% that will work either (will report back after testing)\r\n\r\nWe largely follow the patterns layed out by @reset in his chefconf talk last year (https://www.chef.io/blog/chefconf-talks/the-berkshelf-way-jamie-winsor/ ) ... so I guess I might just have to deviate from that slightly and stick it as an environment override... ? (neither Berkshelf nor Policyfiles seems to provide a place to persist that at the right place in the load order... we can start passing dna.json's around but I'd rather not)\r\n"}}