-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
- there is a false negative test here, this is being called in a wrapper, but it doesnt detect that properly.
- if this is supposed to force the handler to run, it shouldn't care about the run_list, it should be setting up a report handler, and certainly not barfing if I don't have it last in a run_list, the point of a handler is i dont care, it runs during start/finalize, it shouldnt break my run.
Recipe: myOrg_inspec_handler::default
* directory[/etc/chef/inspec-handler] action create (up to date)
* directory[/etc/chef] action nothing (skipped due to action :nothing)
* cookbook_file[/etc/chef/inspec_handler.rb] action nothing (skipped due to action :nothing)
* chef_handler[myOrg::InspecHandler] action nothing (skipped due to action :nothing)
* ruby_block[trigger_start_handlers] action nothing (skipped due to action :nothing)
* directory[/etc/chef/inspec-handler/myOrg_inspec_handler] action create (up to date)
* link[/etc/chef/inspec-handler/myOrg_inspec_handler/default.rb] action create (up to date)
* inspec_handler_utils[inutil] action hard[2017-05-31T19:30:15+00:00] WARN: [Inspec Handler Utils] [/!\] inspec_handler::default is expected to be wrapped in myOrg_inspec_handler
================================================================================
Error executing action `hard` on resource 'inspec_handler_utils[inutil]'
================================================================================
RuntimeError
------------
[Inspec Handler Utils] [--FATAL--]
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ myOrg_inspec_handler is NOT placed at the end of your runlist. Make sure this cookbook runs last. @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Cookbook Trace:
---------------
/tmp/kitchen/cache/cookbooks/inspec_handler/libraries/inspec-handler-utils_provider.rb:90:in `is_at_end?'
/tmp/kitchen/cache/cookbooks/inspec_handler/libraries/inspec-handler-utils_provider.rb:80:in `utils'
/tmp/kitchen/cache/cookbooks/inspec_handler/libraries/inspec-handler-utils_provider.rb:67:in `action_hard'
Reactions are currently unavailable