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:
Fabio Rehm 2013-08-03 09:10:45 -07:00
commit 35f594e2af
6 changed files with 6 additions and 12 deletions

View file

@ -24,8 +24,7 @@ module VagrantPlugins
end
end
else
# TODO: Raise a better error
raise "You've configured an APT cache for a guest machine that does not support it!"
@env[:ui].info "Skipping APT cache bucket as the guest machine does not support it"
end
end
end

View file

@ -24,8 +24,7 @@ module VagrantPlugins
end
end
else
# TODO: Raise a better error
raise "You've configured a Chef cache for a guest machine that does not support it!"
@env[:ui].info "Skipping Chef cache bucket as the guest machine does not support it"
end
end
end

View file

@ -29,8 +29,7 @@ module VagrantPlugins
end
end
else
# TODO: Raise a better error
raise "You've configured a RubyGems cache for a guest machine that does not support it!"
@env[:ui].info "Skipping RubyGems cache bucket as the guest machine does not support it"
end
end
end

View file

@ -24,8 +24,7 @@ module VagrantPlugins
end
end
else
# TODO: Raise a better error
raise "You've configured a Pacman cache for a guest machine that does not support it!"
@env[:ui].info "Skipping Pacman cache bucket as the guest machine does not support it"
end
end
end

View file

@ -29,8 +29,7 @@ module VagrantPlugins
end
end
else
# TODO: Raise a better error
raise "You've configured a RVM cache for a guest machine that does not support it!"
@env[:ui].info "Skipping RVM cache bucket as the guest machine does not support it"
end
end
end

View file

@ -27,8 +27,7 @@ module VagrantPlugins
end
end
else
# TODO: Raise a better error
raise "You've configured a Yum cache for a guest machine that does not support it!"
@env[:ui].info "Skipping Yum cache bucket as the guest machine does not support it"
end
end
end