Public Repository

Last pushed: 7 months ago
Short Description
right_chimp is a tool for managing servers using the RightScale platform.
Full Description

A dockerized version of the right_chimp gem: https://rubygems.org/gems/right_chimp. Arbitrary 'chimp' commands executed in container -or- defaults to running execution daemon ('chimpd')

Setup:
credentials config-
$ cat ~/.rest_connection/rest_api_config.yaml:

--- 
:user: <your rightscale login here>
:pass: <your rightscale password here>
:api_url: https://my.rightscale.com/api/acct/<your rightscale account here>

Usage:

  • Example #1 - Execute arbitrary chimp command interactively:
    => docker run -it -v ~mastamark/.rest_connection:/root/.rest_connection:ro mastamark/right_chimp:latest chimp --tag="some:tag=true" --script="MyScript"
  • Example #2 - Start right_chimp daemon with docker host port 9055 bound to same container port:
    => docker run -d -p 9055:9055 -v ~mastamark/.rest_connection:/root/.rest_connection:ro mastamark/right_chimp:latest

Send your dockerized chimp queries to your dockerized chimpd by adding flag "--chimpd=172.17.0.1:9055" (assuming this is your docker host ip) to chimp queries.

Docker Pull Command
Owner
mastamark

Comments (0)