Class: Chef::Knife

Inherits:
Object
  • Object
show all
Defined in:
lib/chef/knife/base_vsphere_command.rb

Overview

Base class for knife

Direct Known Subclasses

BaseVsphereCommand

Defined Under Namespace

Classes: BaseVsphereCommand, VsphereClusterList, VsphereCpuRatio, VsphereCustomizationList, VsphereDatastoreFile, VsphereDatastoreList, VsphereDatastoreMaxfree, VsphereDatastoreclusterList, VsphereDatastoreclusterMaxfree, VsphereFolderList, VsphereHostsList, VspherePoolList, VspherePoolQuery, VspherePoolShow, VsphereTemplateList, VsphereVlanCreate, VsphereVlanList, VsphereVmCdrom, VsphereVmClone, VsphereVmConfig, VsphereVmDelete, VsphereVmDiskExtend, VsphereVmDiskList, VsphereVmExecute, VsphereVmFind, VsphereVmList, VsphereVmMarkastemplate, VsphereVmMigrate, VsphereVmMove, VsphereVmNet, VsphereVmNetworkAdd, VsphereVmNetworkDelete, VsphereVmNetworkList, VsphereVmNetworkSet, VsphereVmPropertyGet, VsphereVmPropertySet, VsphereVmShow, VsphereVmSnapshot, VsphereVmState, VsphereVmToolsconfig, VsphereVmVmdkAdd, VsphereVmVncset, VsphereVmWaitSysprep

Instance Method Summary collapse

Instance Method Details

#log_verbose?(level = 1) ⇒ Boolean

Returns:

  • (Boolean)


415
416
417
# File 'lib/chef/knife/base_vsphere_command.rb', line 415

def log_verbose?(level = 1)
  config[:verbosity] >= level
end