Module: Chef::LXC

Defined in:
lib/chef/lxc.rb,
lib/chef/lxc/fleet.rb,
lib/chef/lxc/version.rb,
lib/chef/lxc/knife_helper.rb,
lib/chef/lxc/container_helper.rb

Defined Under Namespace

Modules: ContainerHelper, KnifeHelper Classes: Fleet

Constant Summary collapse

VERSION =
'0.1.2'

Class Method Summary collapse

Class Method Details

.create_fleet(name) {|fleet| ... } ⇒ Object

Yields:

  • (fleet)


8
9
10
11
12
# File 'lib/chef/lxc.rb', line 8

def self.create_fleet(name)
  fleet = Chef::LXC::Fleet.new
  yield fleet if block_given?
  fleet
end