CLICK ME
yes, even hidden code blocks!
print("hello world!")
## chef report handler for Consul | |
## depends on a chef-client check being registered with the agent | |
## • pings TTL-style check with ok/warning status on chef run pass/fail | |
## • stores run report and node attributes in chef/reports/<datacenter>/<consul_node_name> | |
require "chef/handler" | |
require "rest_client" | |
class ConsulHandler < Chef::Handler | |
attr_reader :config |