class RemoteRun
Public Instance Methods
do(publicIp, privateKey, role, solution, ref="")
click to toggle source
# File lib/canzea/commands/remote-run.rb, line 18 def do(publicIp, privateKey, role, solution, ref="") remote = RemoteCall.new remote.exec publicIp, privateKey, "canzea --lifecycle=install --role=#{role} --solution=#{solution}", ref end
doCommand(publicIp, privateKey, command, ref="")
click to toggle source
# File lib/canzea/commands/remote-run.rb, line 28 def doCommand(publicIp, privateKey, command, ref="") remote = RemoteCall.new remote.exec publicIp, privateKey, command, ref end
doConfigure(publicIp, privateKey, role, solution, ref="")
click to toggle source
# File lib/canzea/commands/remote-run.rb, line 23 def doConfigure(publicIp, privateKey, role, solution, ref="") remote = RemoteCall.new remote.exec publicIp, privateKey, "canzea --lifecycle=configure --role=#{role} --solution=#{solution}", ref end
doTask(publicIp, privateKey, role, solution, task, ref="")
click to toggle source
# File lib/canzea/commands/remote-run.rb, line 13 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
doWire(publicIp, privateKey, solution, action, args, ref="")
click to toggle source
# File lib/canzea/commands/remote-run.rb, line 8 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
test(publicIp, privateKey, role, solution, ref="")
click to toggle source
# File lib/canzea/commands/remote-run.rb, line 33 def test(publicIp, privateKey, role, solution, ref="") remote = RemoteCall.new remote.exec publicIp, privateKey, "canzea --lifecycle=install --role=#{role} --solution=#{solution} --test", ref end