Module: VagrantPlugins::Berkshelf
- Defined in:
- lib/vagrant-berkshelf.rb,
lib/vagrant-berkshelf/env.rb,
lib/vagrant-berkshelf/config.rb,
lib/vagrant-berkshelf/errors.rb,
lib/vagrant-berkshelf/plugin.rb,
lib/vagrant-berkshelf/helpers.rb,
lib/vagrant-berkshelf/version.rb,
lib/vagrant-berkshelf/action/base.rb,
lib/vagrant-berkshelf/action/load.rb,
lib/vagrant-berkshelf/action/save.rb,
lib/vagrant-berkshelf/action/check.rb,
lib/vagrant-berkshelf/action/clean.rb,
lib/vagrant-berkshelf/action/share.rb,
lib/vagrant-berkshelf/action/upload.rb,
lib/vagrant-berkshelf/action/install.rb
Defined Under Namespace
Modules: Action, Helpers
Classes: BerksCommandFailed, BerkshelfNotFound, Config, Env, InvalidBerkshelfVersionError, Plugin
Constant Summary
collapse
- INSTALL_CHEFDK_INSTRUCTIONS =
<<-EOH.freeze
Please download and install the latest version of the ChefDK from:
https://downloads.chef.io/chef-dk
and follow the installation instructions. Do not forget to add the ChefDK to
your PATH.
EOH
- VERSION =
"5.0.0"
Class Method Summary
collapse
Class Method Details
.berkshelf_path ⇒ Object
9
10
11
|
# File 'lib/vagrant-berkshelf.rb', line 9
def self.berkshelf_path
ENV['BERKSHELF_PATH'] || File.expand_path('~/.berkshelf')
end
|
.shelves_path ⇒ Object
13
14
15
|
# File 'lib/vagrant-berkshelf.rb', line 13
def self.shelves_path
File.join(berkshelf_path, 'vagrant-berkshelf', 'shelves')
end
|