Sha256: 2e9316ef3200b2844d7bbb82d57c92306458170f3a10d2d2786f8a8d9818ca80
Contents?: true
Size: 405 Bytes
Versions: 4
Compression:
Stored size: 405 Bytes
Contents
require "git" require "fileutils" require "pathname" require "ssh-base-cmd-class" class RemoteRun def do(serverBase, serverNumber, privateKey, role, solution) publicIp = File.read("#{Canzea::config[:pwd]}/vps-#{serverBase}-#{serverNumber}.json") remote = RemoteCall.new remote.run publicIp, privateKey, "canzea --lifecycle=install --role=#{role} --solution=#{solution}" end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
canzea-0.1.15 | lib/commands/remote-run.rb |
canzea-0.1.14 | lib/commands/remote-run.rb |
canzea-0.1.13 | lib/commands/remote-run.rb |
canzea-0.1.12 | lib/commands/remote-run.rb |