Sha256: f03cccb0baa44c16e597b8fa009281a58b175eccbd6834f6236faa7e85132a3e
Contents?: true
Size: 1.59 KB
Versions: 10
Compression:
Stored size: 1.59 KB
Contents
require "json" require "git" require "fileutils" require "pathname" require "ssh-base-cmd-class" class RemoteRun def doWire(publicIp, privateKey, solution, action, args, ref="") remote = RemoteCall.new remote.exec publicIp, privateKey, "canzea --lifecycle=wire --raw --solution=#{solution} --action=#{action} --args='#{args}'", ref end def doTask(publicIp, privateKey, role, solution, task, ref="") remote = RemoteCall.new remote.exec publicIp, privateKey, "canzea --lifecycle=install --role=#{role} --task=#{task} --solution=#{solution}", ref end def doInstall(publicIp, privateKey, role, solution, args, ref="") remote = RemoteCall.new remote.exec publicIp, privateKey, "canzea --lifecycle=install --role=#{role} --solution=#{solution} --args='#{args}'", ref end def do(publicIp, privateKey, role, solution, ref="") remote = RemoteCall.new remote.exec publicIp, privateKey, "canzea --lifecycle=install --role=#{role} --solution=#{solution}", ref end def doConfigure(publicIp, privateKey, role, solution, ref="") remote = RemoteCall.new remote.exec publicIp, privateKey, "canzea --lifecycle=configure --role=#{role} --solution=#{solution}", ref end def doCommand(publicIp, privateKey, command, ref="") remote = RemoteCall.new remote.exec publicIp, privateKey, command, ref end def test(publicIp, privateKey, role, solution, ref="") remote = RemoteCall.new remote.exec publicIp, privateKey, "canzea --lifecycle=install --role=#{role} --solution=#{solution} --test", ref end end
Version data entries
10 entries across 10 versions & 1 rubygems