Class: Chef::Knife::StencilServerDelete
- Inherits:
-
Chef::Knife
- Object
- Chef::Knife
- Chef::Knife::StencilServerDelete
- Includes:
- StencilBase
- Defined in:
- lib/chef/knife/stencil_server_delete.rb
Overview
Knife-plugin boilerplate class for the ‘delete’ 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
Instance Method Details
#run ⇒ Object
46 47 48 49 |
# File 'lib/chef/knife/stencil_server_delete.rb', line 46 def run stencil_node = Chef::Knife::StencilNode.new(locate_config_value(:chef_node_name), config) stencil_node.delete end |