Module: Chef::Knife::Cloud::ServerDeleteOptions
- Defined in:
- lib/chef/knife/cloud/server/delete_options.rb
Class Method Summary collapse
Class Method Details
.included(includer) ⇒ Object
25 26 27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/chef/knife/cloud/server/delete_options.rb', line 25 def self.included(includer) includer.class_eval do include ServerOptions option :purge, short: "-P", long: "--purge", boolean: true, default: false, description: "Destroy corresponding node and client on the Chef Server, in addition to destroying the Cloud node itself. Assumes node and client have the same name as the server (if not, add the '--node-name' option)." end end |