Class: Bosh::Agent::Message::ReleaseApplySpec

Inherits:
Base
  • Object
show all
Defined in:
lib/bosh_agent/http_handler.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#base_dir, #handler_error, #logger, #logs_dir, #settings, #store_migration_target, #store_path

Class Method Details

.process(args) ⇒ Object



90
91
92
# File 'lib/bosh_agent/http_handler.rb', line 90

def self.process(args)
  self.new.apply_spec
end

Instance Method Details

#apply_specObject



99
100
101
# File 'lib/bosh_agent/http_handler.rb', line 99

def apply_spec
  Psych.load_file(release_apply_spec)
end

#release_apply_specObject



94
95
96
97
# File 'lib/bosh_agent/http_handler.rb', line 94

def release_apply_spec
  #generated from bosh-release and baked into the stemcell
  "/var/vcap/micro/apply_spec.yml"
end