vagrant-cachier-ng/lib/vagrant-cachier/bucket/composer.rb

22 lines
499 B
Ruby

module VagrantPlugins
module Cachier
class Bucket
class Composer < Bucket
def self.capability
:composer_path
end
def install
if guest.capability?(:composer_path)
if composer_path = guest.capability(:composer_path)
user_symlink(composer_path)
end
else
@env[:ui].info I18n.t('vagrant_cachier.skipping_bucket', bucket: 'Composer')
end
end
end
end
end
end