dennybaa
5/27/2015 - 8:24 PM

gistfile1.txt

{
    "chef": {
        "failed": false, 
        "stderr": "to stderr", 
        "return_code": 0, 
        "succeeded": true, 
        "stdout": "to stdout"
    }
}
[ root@b630f684bf00:~ ]$ st2 run chef.apply hosts=chef minimal_ohai=true  sudo=true recipe_file=/tmp/a.rb
.
id: 556627cd6498fe0d22e54a0d
status: succeeded
result: 
{
    "chef": {
        "failed": false, 
        "stderr": "", 
        "return_code": 0, 
        "succeeded": true, 
        "stdout": "to stdout
to stderr"
    }
}