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
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:
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 to_json method. So the proper way to populate it is over procedure used in default recipe:
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:
The text was updated successfully, but these errors were encountered: