-
Notifications
You must be signed in to change notification settings - Fork 289
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
check config standalone boolean #34
Comments
I tried forcing a json to write a boolean many ways without success. There was some discussion tonight in #sensu about having sensu honor booleans as strings though. That might be the easiest fix for this. |
I guess can just use templates in the meantime. |
I have a PR open to fix this. #43 The fix is to have undef by default. Then supplying true to the aggregate / standalone argument with the fix will apply this correctly to the resulting JSON file. No quotes, no strings. |
Merged. |
Although it's defined as a boolean
f.puts JSON.pretty_generate(conf) seems to write it out as a string.
The text was updated successfully, but these errors were encountered: