You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm guessing that the 0755 that the service recipe sets is probably correct for the directory, and that the config provider should be using that (and just using node['consul_template']['template_mode'] for the template config file). As it is now, the config resource is always setting its changed flag, which is causing our wrapper template to restart consul-template unnecessarily.
The text was updated successfully, but these errors were encountered:
There are two places in the cookbook that are creating the config dir, and they're setting different permissions...
In the service recipe:
chef-consul-template/recipes/service.rb
Lines 44 to 51 in adda5d8
In the config provider:
chef-consul-template/providers/config.rb
Lines 25 to 32 in adda5d8
I'm guessing that the 0755 that the service recipe sets is probably correct for the directory, and that the config provider should be using that (and just using
node['consul_template']['template_mode']
for the template config file). As it is now, the config resource is always setting its changed flag, which is causing our wrapper template to restart consul-template unnecessarily.The text was updated successfully, but these errors were encountered: