README.md in open-dock-0.1.7 vs README.md in open-dock-0.1.8

- old
+ new

@@ -43,12 +43,10 @@ ## Configure PROVIDER `ops list` command will list all providers supported by this gem. -TODO: Create more providers (vagrant, aws, linode, gcloud, ...) - ### Digital Ocean Pre-requisites: * Create DigitalOcean account @@ -88,10 +86,29 @@ * `ops list digital_ocean` list all possible parameter values to use in the yml file * `ops create example.com` will create your host By default `user` to connect to host will be 'root' if not configured. +### Vagrant Host + +With Vagrant we do not need provider file anymore. But obviously qyou need to have installed in your workstation: + +* [VirtualBox](https://www.virtualbox.org/wiki/Downloads) +* [Vagrant](https://www.vagrantup.com/downloads.html) + +For a Vagrant host we can make the following file (ops/hosts/example.com.yml): + +```yml +provider: vagrant +user: root # User to connect the host +memory: 2048 +ip: 192.168.33.20 +box: ubuntu/trusty64 ## Search on https://atlas.hashicorp.com +``` + +`ops create example.com` will create Vagrantfile, so you can suspend it `vagrant suspend` or manipulate with vagrant commands. + ### Digital Ocean Host For a Digital Ocean host we can make the following file (ops/hosts/example.com.yml): ```yml @@ -210,19 +227,21 @@ ## Commands Create/delete domain names, create/delete hosts and ship/unship hosts: * TODO: `ops init` initialize needed folders and example files +* TODO: `ops list` shows all providers for this gem. Create more providers (aws, linode, gcloud, ...) * `ops create HOST_NAME` create the host defined by the name of the file in the 'ops/hosts' folder. * `ops delete HOST_NAME` * TODO: `ops recreate HOST_NAME` delete/create the host. * `ops exec HOST_NAME "COMMAND"` execute any command on a host remotely (i.e. ops exec example.com 'docker ps -a') * `ops ship HOST_NAME` run the containers in the host. * `ops unship HOST_NAME` * TODO: `ops reship HOST_NAME` unship/ship all containers from host. * `ops configure HOST_NAME` configure all containers with chef. * `ops ssh HOST_NAME [CONTAINER_NAME]` ssh connection to host or container +* TODO: `ops graph` creates a graphic with all hosts and nodes in the project ## Create your infrastructure project (/ops) OPS command is focused to cover first Provision configurations for a the Operations of your infrastructure. @@ -301,6 +320,10 @@ * Delete post-conditions from containers files. By default host credentials are passed to conainers. ### v0.1.3 * Chef containers configuration files goes to nodes/[host_name]/[container_name].json -* Create ssh connections commands: 'ops ssh [host_name] [container_name]' +* Create ssh connections commands: 'ops ssh [host_name] [container_name]' + +### v0.1.8 + +* Including Vagrant provider \ No newline at end of file