Add missing end
to generic bucket and remove capability
method [GH-94]
This commit is contained in:
parent
8d48dacf24
commit
a4c5f05263
1 changed files with 1 additions and 4 deletions
|
@ -2,16 +2,13 @@ module VagrantPlugins
|
||||||
module Cachier
|
module Cachier
|
||||||
class Bucket
|
class Bucket
|
||||||
class Generic < Bucket
|
class Generic < Bucket
|
||||||
def self.capability
|
|
||||||
:generic_cache_dir
|
|
||||||
end
|
|
||||||
|
|
||||||
def install
|
def install
|
||||||
if @configs.has_key?(:cache_dir)
|
if @configs.has_key?(:cache_dir)
|
||||||
@name = @configs.has_key?(:name) ? "generic-#{@configs[:name]}" : "generic"
|
@name = @configs.has_key?(:name) ? "generic-#{@configs[:name]}" : "generic"
|
||||||
symlink(@configs[:cache_dir])
|
symlink(@configs[:cache_dir])
|
||||||
else
|
else
|
||||||
@env[:ui].info I18n.t('vagrant_cachier.skipping_bucket', bucket: 'Generic')
|
@env[:ui].info I18n.t('vagrant_cachier.skipping_bucket', bucket: 'Generic')
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue