Class: Chef::Knife::StencilServerExplain

Inherits:
Chef::Knife show all
Includes:
StencilBase
Defined in:
lib/chef/knife/stencil_server_explain.rb

Overview

Knife-plugin boilerplate class for the ‘explain’ sub-command

Instance Method Summary collapse

Methods included from StencilBase

#build_plugin_klass, #explain, #invoked_as_stencil?, #locate_config_value, #normalize_path, #stencil_root

Methods inherited from Chef::Knife

#config, #merge_configs

Instance Method Details

#runObject



38
39
40
# File 'lib/chef/knife/stencil_server_explain.rb', line 38

def run
  stencil_node = Chef::Knife::StencilNode.new(locate_config_value(:chef_node_name), config)
end