Sha256: 6e8a864f60a2a05c83eacaf3a136c422e355d13f3e7d11ae77a75063368ff921
Contents?: true
Size: 1.35 KB
Versions: 11
Compression:
Stored size: 1.35 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 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
11 entries across 11 versions & 1 rubygems