lib/simple_deploy/stack/execute.rb in simple_deploy-0.7.2 vs lib/simple_deploy/stack/execute.rb in simple_deploy-0.7.3
- old
+ new
@@ -2,11 +2,11 @@
module SimpleDeploy
class Stack
class Execute
def initialize(args)
- @config = args[:config]
+ @config = SimpleDeploy.config
@instances = args[:instances]
@environment = args[:environment]
@ssh_user = args[:ssh_user]
@ssh_key = args[:ssh_key]
@stack = args[:stack]
@@ -18,11 +18,10 @@
end
private
def ssh
- options = { :config => @config,
- :instances => @instances,
+ options = { :instances => @instances,
:environment => @environment,
:ssh_user => @ssh_user,
:ssh_key => @ssh_key,
:stack => @stack,
:name => @name }