class VagrantPlugins::Cachier::Bucket::Chef

Public Class Methods

capability() click to toggle source
# File lib/vagrant-cachier/bucket/chef.rb, line 5
def self.capability
  :chef_file_cache_path
end

Public Instance Methods

install() click to toggle source
# File lib/vagrant-cachier/bucket/chef.rb, line 9
def install
  if guest.capability?(:chef_file_cache_path)
    guest_path = guest.capability(:chef_file_cache_path)
    symlink(guest_path) if guest_path
  else
    @env[:ui].info I18n.t('vagrant_cachier.skipping_bucket', bucket: 'Chef')
  end
end