lib/commands/container.rb in testlab-0.9.1 vs lib/commands/container.rb in testlab-1.0.0
- old
+ new
@@ -105,21 +105,21 @@
c.long_desc <<-EOF
Recycles a container. The container is taken through a series of state changes to ensure it is pristine.
The container is cycled in this order:
-Teardown -> Down -> Destroy -> Create -> Up -> Setup
+Deprovision -> Down -> Destroy -> Create -> Up -> Provision
EOF
c.command :recycle do |recycle|
recycle.action do |global_options, options, args|
iterate_objects_by_name(options[:name], TestLab::Container) do |container|
- container.teardown
+ container.deprovision
container.down
container.destroy
container.create
container.up
- container.setup
+ container.provision
end
end
end
# CONTAINER CLONE