Method: Chef::Node#display_hash
- Defined in:
- lib/chef/node.rb
#display_hash ⇒ Object
529 530 531 532 533 534 535 536 537 538 539 |
# File 'lib/chef/node.rb', line 529 def display_hash display = {} display["name"] = name display["chef_environment"] = chef_environment display["automatic"] = attributes.automatic.to_hash display["normal"] = attributes.normal.to_hash display["default"] = attributes.combined_default.to_hash display["override"] = attributes.combined_override.to_hash display["run_list"] = run_list.run_list_items display end |