-
-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cycling dependancy in Hiera-based config #81
Comments
Hm, merging config like that appears (which is very handy for a multiple datacenter setup etc.) was also only working for me after a local edit....
... which apparently had something to do with 76bc1ef ... but beside that little tidbit change, I would be running v0.4.6 now. |
This surprises me because we have a test for this: If there was a dependency loop when settings |
Im hitting this as well -
|
It could be it's about an incomplete consul definition which causes it. Once I hiera_merge it like mentioned, the problem disappears, but without merging (which granted, would result in an incomplete / faulty consul config), this dependency cycle happens, so with just:
Arguable, this is incomplete, but probably it gives more clear error messages when:
|
Changing the merge() function as you describe above makes no difference for me, I am still receiving the same error. Having a look into it now... Changing the spec test to
still does not cause the spec test to fail for some reason (but I still definitely have the cycle issue) |
Fixes #81 bugfix cycle dependency when specifying a service
Yaml-based hiera setup, applied in order (merge deeper @ hiera):
Main config shared everywhere (init style = false because we have a local .deb repo where init is already taken care of when installing consul):
Consul-master config:
Apply results in:
Unless I'm doing something wrong in Hiera of course...
The text was updated successfully, but these errors were encountered: