Last active
December 8, 2017 17:38
-
-
Save trlinkin/6dae0bc8520be98f4a240b3c06bb9d24 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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