Sha256: 8e3c94bbee0265600dec84f65ababbba22c3f2fc78f7358db1c4c49c13461533
Contents?: true
Size: 889 Bytes
Versions: 12
Compression:
Stored size: 889 Bytes
Contents
require 'simple_deploy/stack/ssh' module SimpleDeploy class Stack class Execute def initialize(args) @config = args[:config] @instances = args[:instances] @environment = args[:environment] @ssh_user = args[:ssh_user] @ssh_key = args[:ssh_key] @stack = args[:stack] @name = args[:name] end def execute(args) ssh.execute args end private def ssh options = { :config => @config, :instances => @instances, :environment => @environment, :ssh_user => @ssh_user, :ssh_key => @ssh_key, :stack => @stack, :name => @name } @ssh ||= SimpleDeploy::Stack::SSH.new options end end end end
Version data entries
12 entries across 12 versions & 1 rubygems