Sha256: b7dd0915cbace912d2f325189990984dd2a784ad65e741915dd45f48ea68ddbe
Contents?: true
Size: 367 Bytes
Versions: 12
Compression:
Stored size: 367 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("vps-#{serverBase}-#{serverNumber}.json") remote = RemoteCall.new remote.run publicIp, privateKey, "canzea --run --role=#{role} --solution=#{solution}" end end
Version data entries
12 entries across 12 versions & 1 rubygems