Sha256: ec4ae14c35aaee87fd0dced8b68e0f9c45c148f58979f89d1317b1d366dd702c
Contents?: true
Size: 1.27 KB
Versions: 4
Compression:
Stored size: 1.27 KB
Contents
# Cluster::Fuck TODO: Write a gem description ## Installation Add this line to your application's Gemfile: gem 'cluster-fuck' And then execute: $ bundle Or install it yourself as: $ gem install cluster-fuck ### setup your credential file If you are not on an EC2 instance then you should setup your ~/.cluster-fuck file with the followng yaml: ```yaml :access_key_id: access_key :secret_access_key: secret_key ``` It will also look for a ~/.fog file with the following syntax ```yaml :default: :aws_access_key_id: access_key :aws_secret_access_key: secret_key ``` Otherwise, it expects you to be on an EC2 instance and not have to setup credentials. ## Usage ### From Code ```ruby reader = ClusterFuck::Reader.new(:stripe) reader.read[:api_key] # loads config_bucket/amicus_env/stripe and returns the api_key from the hash ``` #### From the command line See help on bin/clusterfuck The ClusterFuck::Reader instance will automatically load the configuration for the environment stored in the AMICUS_ENV environment variable on the host. 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
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
cluster-fuck-0.1.4.3 | README.md |
cluster-fuck-0.1.4.2 | README.md |
cluster-fuck-0.1.4.1 | README.md |
cluster-fuck-0.1.4 | README.md |