Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Chef Handlers json_file Handler example
{
"node": {
"name": "ip-xxx-xxx-x-xxx.ec2.internal",
"chef_environment": "_default",
"json_class": "Chef::Node",
"automatic": {
"chef_packages": {
"ohai": {
"version": "7.0.4",
"ohai_root": "/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.0.4/lib/ohai"
},
"chef": {
"version": "11.12.4",
"chef_root": "/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4/lib"
}
},
"kernel": {
"name": "Linux",
"release": "2.6.32-431.11.2.el6.x86_64",
"version": "#1 SMP Tue Mar 25 19:59:55 UTC 2014",
"machine": "x86_64",
"os": "GNU/Linux",
"modules": {
"veth": {
"size": "5040",
"refcount": "0"
},
"ipt_addrtype": {
"size": "2153",
"refcount": "2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment