Skip to content

Instantly share code, notes, and snippets.

@trlinkin
Last active December 8, 2017 17:38
Show Gist options
  • Save trlinkin/6dae0bc8520be98f4a240b3c06bb9d24 to your computer and use it in GitHub Desktop.
Save trlinkin/6dae0bc8520be98f4a240b3c06bb9d24 to your computer and use it in GitHub Desktop.
curl -k -H 'X-Authentication:<TOKEN>' \
https://<HOSTNAME>:<PORT>/orchestrator/v1/command/deploy -X POST \
-H "Content-Type: application/json" \
-d @- <<'EOD'
{
"environment" : "test-env-1",
"task" : "package",
"params" : {
"action" : "install",
"package" : "httpd"
},
"scope" : {
"nodes" : ["node1.example.com"]
}
}
EOD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment