Class: Chef::Knife

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

Direct Known Subclasses

BaseVsphereCommand

Defined Under Namespace

Classes: BaseVsphereCommand, VsphereClusterList, VsphereCpuRatio, VsphereCustomizationList, VsphereDatastoreList, VsphereDatastoreMaxfree, VsphereDatastoreclusterList, VsphereDatastoreclusterMaxfree, VsphereFolderList, VsphereHostsList, VspherePoolList, VspherePoolQuery, VsphereTemplateList, VsphereVlanCreate, VsphereVlanList, VsphereVmClone, VsphereVmConfig, VsphereVmDelete, VsphereVmExecute, VsphereVmList, VsphereVmMarkastemplate, VsphereVmMigrate, VsphereVmMove, VsphereVmNet, VsphereVmPropertyGet, VsphereVmPropertySet, VsphereVmQuery, VsphereVmSnapshot, VsphereVmState, VsphereVmToolsconfig, VsphereVmVmdkAdd, VsphereVmWaitSysprep

Instance Method Summary collapse

Instance Method Details

#log_verbose?(level = 1) ⇒ Boolean

Returns:

  • (Boolean)


379
380
381
# File 'lib/chef/knife/base_vsphere_command.rb', line 379

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