lib/percheron/stack.rb in percheron-0.2.4 vs lib/percheron/stack.rb in percheron-0.3.0
- old
+ new
@@ -43,9 +43,21 @@
def start!
exec_on_containers { |container| container.start! }
end
+ def restart!
+ exec_on_containers { |container| container.restart! }
+ end
+
+ def create!
+ exec_on_containers { |container| container.create! }
+ end
+
+ def recreate!(bypass_auto_recreate: false)
+ exec_on_containers { |container| container.recreate!(bypass_auto_recreate: bypass_auto_recreate) }
+ end
+
def valid?
Validators::Stack.new(self).valid?
end
private