Skip to content

Instantly share code, notes, and snippets.

@inokappa
Created May 5, 2014 04:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save inokappa/6c4b95367277abadd460 to your computer and use it in GitHub Desktop.
Save inokappa/6c4b95367277abadd460 to your computer and use it in GitHub Desktop.
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