Class: Chef::Knife

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

Overview

Base class for knife

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)


418
419
420
# File 'lib/chef/knife/helpers/base_vsphere_command.rb', line 418

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