-
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
issue with "Do not use 'handle' and 'handlers' together. Your 'handle' value has been overridden with 'handlers'" #391
Comments
@countryHick I think this is because the handle attribute used to be used for "handler", but I could be mistaken - it's been a while. A PR is likely warranted with an update to fix this. |
yeah - i'll make one later today methinks -- i've locally done this and works much better, cause now you can handle:false, aggregate:true - and your failed aggregates aren't alerting anymore :) |
@countryHick I'm going to try to tag a 2.0 version of this module hopefully later this week. Do you have a few minutes to do a PR for this? I think a 2.0 version is the perfect time to correct this. |
hopefully - i'll try for today/tonight... On Mon, Aug 31, 2015 at 9:04 AM, Justin Lambert [email protected]
|
@countryHick Does #422 work for you? I want to close this one out and then am going to tag a 2.0 release finally. |
Yep - that's the one |
In a nutshell - this doesn't make sens(u)e to me -- why was it added to say that if you have handlers, you can't diable the handling of a check? I think it was added on commit #a9b4089cb3ff7ae28a56b8d6d535478953c8f6b8 but i don't agree with it. I should accept whatever i tell it to do, and not impose a logic block - at least remove the 'return' there, and issue the warning for 'style' points or something.
https://github.com/sensu/sensu-puppet/blob/master/lib/puppet/provider/sensu_check/json.rb#L179
The text was updated successfully, but these errors were encountered: