2013-10-21 09:17:59 +00:00
|
|
|
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)
|
2014-07-21 00:13:35 +00:00
|
|
|
user_symlink(composer_path)
|
2013-10-21 09:17:59 +00:00
|
|
|
end
|
|
|
|
else
|
|
|
|
@env[:ui].info I18n.t('vagrant_cachier.skipping_bucket', bucket: 'Composer')
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|