Does StackStorm works on KSH shell


(Deepchandna) #1
[user@server1 ~]$ st2 run core.remote cmd=whoami hosts=solaris.xyz.deep.com
.
id: 5c5483933648f824856bf69a
status: failed
parameters:
  cmd: whoami
  hosts: solaris.xyz.deep.com
result:
  solaris.xyz.deep.com:
    failed: true
    return_code: 127
    stderr: 'ksh: whoami:  not found'
    stdout: ''
    succeeded: false
	
[user@server1 ~]$ st2 run core.remote cmd=whoami hosts=linux.xyz.deep.com
.
id: 5c5483e13648f824856bf69d
status: succeeded
parameters:
  cmd: whoami
  hosts: linux.xyz.deep.com
result:
  linux.xyz.deep.com:
    failed: false
    return_code: 0
    stderr: ''
    stdout: x1234
    succeeded: true

Please suggest the solution


(Lindsay Hill) #2

(Tomaz Muraus) #3

As per the Github issue (to sum it up here), at the moment StackStorm only supports bash.


(Deepchandna) #4

thanks. I implemented a solution.