lib/sous_vide/handler.rb
# Populates node attributes from Chef run context. These attributes will be passed to the
# configured output as :node_data.
#
# @api private
Populates node attributes from Chef run context. These attributes will be passed to the
configured output as :node_data.
Populates node attributes from Chef run context . These attributes will be passed to the configured output as : node_data .
def populate_node_data
      @chef_node_ipv4 = @chef_run_context.node["ipaddress"] || "<no ip>"
      @chef_node_role = @chef_run_context.node["roles"].first || "<no role>"
      @chef_node_instance_id = @chef_run_context.node.name
    end
def populate_node_data @chef_node_ipv4 = @chef_run_context . node [ "ipaddress" ] || "<no ip>" @chef_node_role = @chef_run_context . node [ "roles" ] . first || "<no role>" @chef_node_instance_id = @chef_run_context . node . name end
Populates node attributes from Chef run context.
Populates node attributes from Chef run context .
api
None