Closed rollbrettler closed 7 years ago
Did you try setting node['consul']['service_user']
and node['consul']['service_group']
? I don't really see why you would need to do this with those node attributes.
No coverage report found for master at 2a49cac.
Powered by Codecov. Last update 2a49cac...56e77ed
I changed it to node['consul']['service_user']
and node['consul']['service_group']
but maybe I didn’t fully get your suggestion yet.
@johnbellone https://github.com/johnbellone/consul-cookbook/issues/372 is basically what I ran into as well and what I tried to fix with this PR
Watch and service resources are still using hardcoded strings 'consul'
.
https://github.com/johnbellone/consul-cookbook/blob/cd562a7/libraries/consul_watch.rb#L22-L28 https://github.com/johnbellone/consul-cookbook/blob/cd562a7/libraries/consul_service.rb#L24-L31
@mishak87 Thanks! Now it should be fixed by #445
Does anything speak against using the
node['consul']['config']['group']
andnode['consul']['config']['user']
value for the default consul_definition attributes?