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
The documentation contains the example:
consul::watch { 'my_watch': ... passingonly => 'true', }
This results in a config file like:
{ "watches": [ { ... "passingonly": "true" } ] }
This will in turn cause an issue for Consul starting with an error similar to:
==> Failed to parse watch (map[string]interface {}{"passingonly":"true", "handler":"/usr/bin/runpuppet.sh"}): Expecting %!s(MISSING) to be a boolean
Changing the config file by hand to the following fixes the problem.
"passingonly": true
Passing in the value to Puppet as a boolean also fixes the problem.
consul::watch { 'my_watch': ... passingonly => true, }
consul --version Consul v0.4.1 Consul Protocol: 2 (Understands back to: 1)
The text was updated successfully, but these errors were encountered:
Yes please. PR?
Sorry, something went wrong.
I'll take a look when I get a moment, although it might be a week or so.
Successfully merging a pull request may close this issue.
Problem
The documentation contains the example:
This results in a config file like:
This will in turn cause an issue for Consul starting with an error similar to:
Changing the config file by hand to the following fixes the problem.
Passing in the value to Puppet as a boolean also fixes the problem.
Fix
Additional thoughts
The text was updated successfully, but these errors were encountered: