Devops client ============= Devops client is a ruby gem. ## Table of contents * [Installation](#install) * [First run](#first_run) * [Client commands](#commands) * [Templates](#templates) * [Deploy](#deploy) * [Filters](#filters) * [Flavor](#flavor) * [Group](#group) * [Image](#image) * [Key](#key) * [Network](#network) * [Project](#project) * [Provider](#provider) * [Script](#script) * [Server](#server) * [Tag](#tag) * [User](#user) * [HOWTO](#howto) * [Create user](#howto_user) * [Create image](#howto_image) * [Create project](#howto_project) * [Launch new server](#howto_server)
| Option | Desciption |
|---|---|
| -h, --help | Show help |
| -c, --config FILE | Specify devops client config file (/home/my_user/.devops/devops-client.conf) |
| -v, --version | devops client version |
| --host HOST | devops service host address (devops-server-host:devops-server-port) |
| --api VER | devops service API version (v2.0) |
| --user USERNAME | use USERNAME for authentication |
| --format FORMAT | Output format: 'table', 'json' (table) |
| --completion | Initialize bash completion script |
| Option | Description |
|---|---|
| --tag TAG1,TAG2... | Chef tag names, comma separated list of a tags which will be temporary applied to servers. |
| Option | Description |
|---|---|
| --provider PROVIDER | Image provider |
| --image IMAGE_ID | Image identifier |
| --ssh_user USER | SSH user name |
| --bootstrap_template TEMPLATE | Bootstrap template |
| --no_bootstrap_template | Do not specify bootstrap template |
| Option | Description |
|---|---|
| --groups GROUP_1,GROUP_2... | Security groups (comma separated list) |
| --deploy_env DEPLOY_ID | Deploy enviroment identifier |
| --subnets SUBNET,SUBNET... | Subnets identifier for deploy enviroment (ec2 - only one sybnet, openstack - comma separated list) |
| --flavor FLAVOR | Specify flavor for the project |
| --image IMAGE_ID | Specify image identifier for the project |
| --run_list RUN_LIST | Run list (comma separated), like recipe[mycookbook::myrecipe], role[myrole]: |
| --users USER,USER... | Users for deploy environment control |
| --provider PROVIDER | Provider identifier 'ec2' or 'openstack' |
| --no_expires | Without expires time |
| --expires EXPIRES | Expires time (5m, 3h, 2d, 1w, etc) |
| Option | Desciption |
|---|---|
| --servers SERVERS | Servers list (comma separated) |
| Option | Description |
|---|---|
| --deploy_env ENV | Add user to deploy enviroment |
| Option | Description |
|---|---|
| --deploy_env ENV | Add user to deploy enviroment |
| Option | Description |
|---|---|
| --params PARAMS | Comma separated scipt parameters |
| Option | Description |
|---|---|
| -N, --name NAME | Set chef name |
| --bootstrap_template [TEMPLATE] | Bootstrap template (optional) |
| Option | Description |
|---|---|
| -N, --name NAME | Set chef name |
| Option | Description |
|---|---|
| --instance | Delete node by instance id |
| Option | Description |
|---|---|
| --password PASSWORD | New user password |