Module: Berkshelf
- Defined in:
- lib/berkshelf/vagrant.rb,
lib/berkshelf/vagrant/env.rb,
lib/berkshelf/vagrant/action.rb,
lib/berkshelf/vagrant/config.rb,
lib/berkshelf/vagrant/errors.rb,
lib/berkshelf/vagrant/plugin.rb,
lib/berkshelf/vagrant/version.rb,
lib/berkshelf/vagrant/env_helpers.rb,
lib/berkshelf/vagrant/action/clean.rb,
lib/berkshelf/vagrant/action/upload.rb,
lib/berkshelf/vagrant/action/install.rb,
lib/berkshelf/vagrant/action/load_shelf.rb,
lib/berkshelf/vagrant/action/configure_chef.rb
Defined Under Namespace
Modules: Vagrant Classes: BerksError, BerksNotFound, UnsupportedBerksVersion, UnsupportedVagrantVersion, VagrantWrapperError
Class Method Summary collapse
-
.berkshelf_path ⇒ String
Returns the filepath to the location Berkshelf will use for storage; temp files will go here, Cookbooks will be downloaded to or uploaded from here.
Class Method Details
.berkshelf_path ⇒ String
Returns the filepath to the location Berkshelf will use for storage; temp files will go here, Cookbooks will be downloaded to or uploaded from here. By default this is ‘~/.berkshelf’ but can be overridden by specifying a value for the ENV variable ‘BERKSHELF_PATH’.
23 24 25 |
# File 'lib/berkshelf/vagrant.rb', line 23 def berkshelf_path ENV['BERKSHELF_PATH'] || File.('~/.berkshelf') end |