Class: GreenAndSecure::BlockShow

Inherits:
Chef::Knife show all
Defined in:
lib/chef/knife/block.rb

Overview

Shows the currently selected knife block

Instance Method Summary collapse

Methods inherited from Chef::Knife

#get_config_file

Instance Method Details

#runObject



241
242
243
244
245
# File 'lib/chef/knife/block.rb', line 241

def run
  GreenAndSecure::check_block_setup
  list = GreenAndSecure::BlockList.new
  puts list.current_server
end