Sha256: dabbdf4f9d0dc9355492f747fbf515f07378b4e4af7fee2a1e078fa1653d57fe
Contents?: true
Size: 916 Bytes
Versions: 3
Compression:
Stored size: 916 Bytes
Contents
# Copyright (c) 2012-2013 Stark & Wayne, LLC require "cli" module Bosh; module CloudFoundry; module Config; end; end; end module Bosh::CloudFoundry::Config class CommonConfig < Bosh::Cli::Config [ :base_systems_dir, # e.g. /var/vcap/store/systems :target_system, # e.g. /var/vcap/store/systems/production :cf_release_git_repo, # e.g. "git://github.com/cloudfoundry/cf-release.git" :bosh_git_repo, # e.g. "git://github.com/cloudfoundry/bosh.git" :releases_dir, # e.g. /var/vcap/store/releases :cf_release_dir, # e.g. /var/vcap/store/releases/cf-release :stemcells_dir, # e.g. /var/vcap/store/stemcells :repos_dir, # e.g. /var/vcap/store/repos ].each do |attr| define_method attr do read(attr, false) end define_method "#{attr}=" do |value| write_global(attr, value) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems