Merge pull request #27 from tmatilai/bucket-errors
Don't error out if a bucket is configured for a non-capable guest
This commit is contained in:
commit
35f594e2af
6 changed files with 6 additions and 12 deletions
|
@ -24,8 +24,7 @@ module VagrantPlugins
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
# TODO: Raise a better error
|
@env[:ui].info "Skipping APT cache bucket as the guest machine does not support it"
|
||||||
raise "You've configured an APT cache for a guest machine that does not support it!"
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -24,8 +24,7 @@ module VagrantPlugins
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
# TODO: Raise a better error
|
@env[:ui].info "Skipping Chef cache bucket as the guest machine does not support it"
|
||||||
raise "You've configured a Chef cache for a guest machine that does not support it!"
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -29,8 +29,7 @@ module VagrantPlugins
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
# TODO: Raise a better error
|
@env[:ui].info "Skipping RubyGems cache bucket as the guest machine does not support it"
|
||||||
raise "You've configured a RubyGems cache for a guest machine that does not support it!"
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -24,8 +24,7 @@ module VagrantPlugins
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
# TODO: Raise a better error
|
@env[:ui].info "Skipping Pacman cache bucket as the guest machine does not support it"
|
||||||
raise "You've configured a Pacman cache for a guest machine that does not support it!"
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -29,8 +29,7 @@ module VagrantPlugins
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
# TODO: Raise a better error
|
@env[:ui].info "Skipping RVM cache bucket as the guest machine does not support it"
|
||||||
raise "You've configured a RVM cache for a guest machine that does not support it!"
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -27,8 +27,7 @@ module VagrantPlugins
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
# TODO: Raise a better error
|
@env[:ui].info "Skipping Yum cache bucket as the guest machine does not support it"
|
||||||
raise "You've configured a Yum cache for a guest machine that does not support it!"
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue