We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Just took a stab at adding a service (1) using the consul::services hash, via hiera. I started getting a dependency cycle right away.
Hiera:
consul::services: puppet_httpd: tags: - httpd - puppet port: 8140 check_script: '/my/check/script'
output:
Info: Applying configuration version '1425588453' Error: Could not apply complete catalog: Found 1 dependency cycle: (File[/etc/consul/service_puppet_httpd.json] => Class[Consul::Run_service] => Service[consul] => Class[Consul::Run_service] => Class[Consul] => Consul::Service[puppet_httpd] => File[/etc/consul/service_puppet_httpd.json]) Cycle graph written to /var/lib/puppet/state/graphs/cycles.dot.
The text was updated successfully, but these errors were encountered:
Interestingly, I just assigned the same service directly (not via hiera, not in the consul::services hash), and it was fine:
consul::service {'puppet_httpd': tags => ['httpd','puppet'], port => 8140, check_script => "/my/check/script" }
Sorry, something went wrong.
Can you verify you are using the latest master? I'm pretty sure this is fixed.
That did it, was pulling via r10k from the forge, hitting master directly let the hash work perfectly.
No branches or pull requests
Just took a stab at adding a service (1) using the consul::services hash, via hiera. I started getting a dependency cycle right away.
Hiera:
output:
The text was updated successfully, but these errors were encountered: