Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
default['consul']['config']['bag_name'] broke consul_config #276
Well I am not sure whether I got the full understanding of the resources in this cookbook. Well my issue is actually that 2nd run of converge do not re-write consul.json config with (start_join) option populated by chef search.
To fix that, I decide to use consul_config resource and place consul.config attributes to an "option" option. However it fails. See:
as in default attributes, then following code fails, as bag_name is not proper key for consul cfg.
Thanks for any guidance in my problem in advance. I am about to try now:
I am sorry. I am taking it back. I found an bug in my recipes that was reseting start_join to  which caused all the troubles.
Then I fully got the point, we filter the node.consul.config in the cosul_config resource on