Class: Pipette

Inherits:
Object
  • Object
show all
Includes:
Commands, Ec2, Lvm, Md, Util, Xfs
Defined in:
lib/pipette.rb,
lib/pipette/md.rb,
lib/pipette/ec2.rb,
lib/pipette/lvm.rb,
lib/pipette/xfs.rb,
lib/pipette/util.rb,
lib/pipette/commands.rb

Defined Under Namespace

Modules: Commands, Ec2, Lvm, Md, Util, Xfs

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Commands

#add, #append, #grow, #init, #remove

Methods included from Xfs

#format, #growfs, #mount, #umount

Methods included from Lvm

#lv_create, #lv_extend, #lv_remove, #pv_create, #vg_create, #vg_extend

Methods included from Md

#create_md_mirror

Methods included from Ec2

#create_volume, #ec2, #instance_id, #meta, #mount_volume, #zone

Methods included from Util

#disk_parts, #next_avail_disk, #next_md, #run_command, #say_with_time, #wait_for

Constructor Details

#initialize(opts) ⇒ Pipette

Returns a new instance of Pipette.



20
21
22
# File 'lib/pipette.rb', line 20

def initialize(opts)
  @opts = opts
end

Instance Attribute Details

#optsObject (readonly)

Returns the value of attribute opts.



18
19
20
# File 'lib/pipette.rb', line 18

def opts
  @opts
end