Skip to content

Instantly share code, notes, and snippets.

@mchugh19
Created October 5, 2015 18:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mchugh19/d7ecc51197594b838f6f to your computer and use it in GitHub Desktop.
Save mchugh19/d7ecc51197594b838f6f to your computer and use it in GitHub Desktop.
salt api output
"return": [
{
"data": {
"stratos.kix": {
"cmd_|-failure_|-echo \"generated problem\" ; exit 5_|-run": {
"__run_num__": 1,
"changes": {
"pid": 16433,
"retcode": 5,
"stderr": "",
"stdout": "generated problem"
},
"comment": "Command \"echo \"generated problem\" ; exit 5\" run",
"duration": "10.696 ms",
"name": "echo \"generated problem\" ; exit 5",
"result": false,
"start_time": "13:23:55.944572"
},
"cmd_|-testing something_|-echo got artifact somevalue and repo othervalue_|-run": {
"__run_num__": 0,
"changes": {
"pid": 16432,
"retcode": 0,
"stderr": "",
"stdout": "got artifact somevalue and repo othervalue"
},
"comment": "Command \"echo got artifact somevalue and repo othervalue\" run",
"duration": "10.164 ms",
"name": "echo got artifact somevalue and repo othervalue",
"result": true,
"start_time": "13:23:55.931229"
},
"pkg_|-pkg-fail_|-pkg-fail_|-installed": {
"__run_num__": 3,
"changes": {},
"comment": "The following packages failed to install/update: doesnotexit",
"duration": "5831.435 ms",
"name": "pkg-fail",
"result": false,
"start_time": "13:23:55.960862"
},
"state_|-state-fail_|-noexist_|-sls": {
"__run_num__": 2,
"changes": {},
"comment": "State 'state.sls' was not found in SLS 'tests.pillar'\n",
"duration": "",
"name": "noexist",
"result": false,
"start_time": ""
}
}
},
"outputter": "highstate"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment