Closed cadeef closed 8 years ago
Can one of the admins verify this patch?
Oops, tests failed:
local:
- Requisite declaration gem_sensu_pagerduty in SLS sensu.server is not formed as a single key dictionary
Can you please fix ASAP and verify with make test
?
I apologize, I'm new to Salt.
I'm having a hard time reproducing the error in my dev environment (make test
returns clean). I added a commit to add the state module to the require statement for /etc/sensu/handlers/pagerduty.rb
, am I on the right path?
Weird, make test
even on my workstation returned error so you should be able to reproduce it as well.
Anyway I fixed it with this commit: https://github.com/tcpcloud/salt-formula-sensu/commit/aafb9a0df197a690db2228043d1ad8e65572cf1b
Thanks for the help. Looks like I was trying to use a new language feature that wasn't available in older versions of Salt-- https://docs.saltstack.com/en/latest/ref/states/requisites.html#omitting-state-module-in-requisites
Interesting, didn't know about this new feature :-) Anyway we are trying to be backward compatible with 2015.8 where possible.
This pull request provides Sensu integration with Pagerduty