Project

ey-scp

0.01
No commit activity in last 3 years
No release in over 3 years
Quickly copy files (e.g. YMLs or configuration files) to multiple EngineYard servers
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
 Dependencies

Development

~> 1.3
>= 0

Runtime

~> 0.8
~> 1.8
~> 1.1
 Project Readme

ey-scp

Provides a CLI to quickly and painlessly deploy configuration files to multiple instances on EngineYard

Installation

  1. Run

     $ gem install ey-scp
    
  2. Make sure that you have your public key registered with EY.

Usage

  1. Run

     ey login
    

    from your project directory.

  2. Use ey-scp from any directory with the following syntax:

     ey-scp -e ENVIRONMENT [OPTIONS] LOCAL_SOURCE_FILE REMOTE_DESTINATION
    

    e.g.

     ey-scp -e production --app-servers ~/local/project/config/foo.yml /remote/project/path/config
    

Specifying target instances

Option Uploads to instances with roles of
--app-servers solo, app_master, app
--app-master solo, app_master
--db-servers solo, db_master, db_slave
--db-master solo, db_master
--db-slaves solo, db_slave
--util-servers solo, util

Contributing

Right now, we could really use someone to refactor the code so that it's less scripty/hackish.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request