Permalink
Switch branches/tags
Nothing to show
Commits on Apr 18, 2013
  1. Call get_instances_by_name() and handle array back.

    MarkBennett committed Apr 18, 2013
    Previously the call format could error out if the function returned more
    than one instance name.
  2. Create get_instances_by_name() in rover.

    MarkBennett committed Apr 18, 2013
    This moves one more EC2 function into the rover section for later
    sharing between pave and plow.
  3. Source the env file from plow.sh.

    MarkBennett committed Apr 18, 2013
    Previously the contents of this file were being cat'ed into plow.sh
    which seems unneccesary.
Commits on Apr 17, 2013
  1. .env used during provisioning available to recipes.

    MarkBennett committed Apr 17, 2013
    This is useful for tools like foreman and runit which can use them when
    configuring the environment for tools on the box. Otherwise this env
    file needs to be reconstructed by recipes on the server.
  2. Handle longer SSH timeouts after provisioning.

    MarkBennett committed Apr 17, 2013
    As new instances can take a minute to spin up the SSH services we're a
    bit more patient with them and give them a few minutes to respond.
  3. Move functions shared with plow into rover section.

    MarkBennett committed Apr 17, 2013
    This is in preperation to more formally share these in the future. The
    function to get server IP's is also now more resilient to changes in EC2
    configurations and handles deployments to instances with and without
    subnets.
Commits on Apr 10, 2013
  1. Update exit status to follow bash conventions.

    MarkBennett committed Apr 10, 2013
    Previously, it explicitly returned 0. As this is the default for exit it
    confusing and unconventional.
    
    Also added a note explaining the meaning and source of exit 64.
Commits on Apr 9, 2013
  1. Ignore any EC2 instances that are not running

    MarkBennett committed Apr 9, 2013
    Previously plow was attempting to run on terminated and stopped
    instances.
Commits on Apr 8, 2013
  1. use return code EX_USAGE (64) from sysexits.h

    MarkBennett committed Apr 8, 2013
    Similar to other commands such as mkdir
  2. exit with 0 on help

    MarkBennett committed Apr 8, 2013
  3. Display help more liberally.

    MarkBennett committed Apr 8, 2013
    Plow now displays help if you:
    
     * don't enter any args or commands
     * enter "help" or "usage"
    
    It will continue to display help if you do:
    
        plow --help