
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
capistrano-getservers-alt
Advanced tools
capistrano-getservers makes it easier for you to deploy to your EC2
instances. By supplying a Hash to the get_servers method,
capistrano-getservers connects to EC2 and retrieves all instances with
matching tags.
Add this line to your application's Gemfile:
gem 'capistrano-getservers'
And then execute:
$ bundle
Or install it yourself as:
$ gem install capistrano-getservers
Ruby Gems
gem 'capistrano'gem 'fog'Environment variables
export AWS_SECRET_ACCESS_KEY=''export AWS_ACCESS_KEY_ID=''In your capistrano script:
get_servers(:db, 'us-east-1', {'app' => 'app_name', 'cluster' => 'cluster', 'environment' => 'environment' ... })
In your capistrano script:
set :tags, ENV['TAGS'] || {}
cli_tags = parse(tags)
get_servers(:role, region, cli_tags)
Then, via the command line:
$ cap staging deploy TAGS=key1:value1,key2:value2,key3:value3...
You can pass nil as the second parameter to have capistrano-getservers
default to the us-east-1 region.
All servers will receive the role 'web' unless you specify a different
role using the get_servers method.
Example: get_servers(:role, 'us-east-1', {'deploy' => 'some value', 'app' => 'some_value'})
Version 1.0.2:
git checkout -b my-new-feature)git commit -am 'Add some feature')git push origin my-new-feature)FAQs
Unknown package
We found that capistrano-getservers-alt demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.