Class: EY::Serverside::CLI::Workflows::IntegratingServers
- Defined in:
- lib/engineyard-serverside/cli/workflows/integrating_servers.rb
Overview
IntegratingServers is a Workflow that attempts to integrate new servers into an existing environment
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ IntegratingServers
constructor
A new instance of IntegratingServers.
Methods inherited from Base
Constructor Details
#initialize(options = {}) ⇒ IntegratingServers
Returns a new instance of IntegratingServers.
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/engineyard-serverside/cli/workflows/integrating_servers.rb', line 11 def initialize( = {}) super # We need to set some extra options, but options is frozen by # the time we get here, so dupe it! @options = .dup # so that we deploy to the same place there that we have here @options[:release_path] = current_app_dir.realpath.to_s # we have to deploy the same SHA there as here @options[:branch] = current_app_dir.join('REVISION').read.strip # always rebundle gems on integrate to make sure the instance comes up correctly. @options[:clean] = true end |