Skip to content

Instantly share code, notes, and snippets.

@murdoaird
Last active February 26, 2017 19:54
Show Gist options
  • Save murdoaird/50777a5fa398a79611b4ec5bbfdc1d7d to your computer and use it in GitHub Desktop.
Save murdoaird/50777a5fa398a79611b4ec5bbfdc1d7d to your computer and use it in GitHub Desktop.
ssh: effector DoStuff ssh call - STREAMS

Works

(calling Effector from web UI)

ENV:

STDIN:

mkdir -p '/tmp/brooklyn-murdoaird/apps/zjtchjskha/entities/EmptySoftwareProcess_mygmaft3gk' && cd '/tmp/brooklyn-murdoaird/apps/zjtchjskha/entities/EmptySoftwareProcess_mygmaft3gk' && whoami

STDOUT:

murdoaird

STDERR:

Fails

(calling Effector from CLI or REST API)

ENV:

=""

STDIN:

mkdir -p '/tmp/brooklyn-murdoaird/apps/zjtchjskha/entities/EmptySoftwareProcess_mygmaft3gk' && cd '/tmp/brooklyn-murdoaird/apps/zjtchjskha/entities/EmptySoftwareProcess_mygmaft3gk' && whoami

STDOUT:

STDERR:

/tmp/brooklyn-20170226-193623132-HuUc-effector_DoStuff_ssh_call.sh: line 3: export: `=': not a valid identifier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment