provisioners/salt: remove vagrant check, we core now

This commit is contained in:
Mitchell Hashimoto 2013-08-29 17:08:49 -07:00
parent 646ee00870
commit d154aafc0d
1 changed files with 2 additions and 11 deletions

View File

@ -1,12 +1,4 @@
begin
require "vagrant"
rescue LoadError
raise "The Vagrant Salt plugin must be run within Vagrant."
end
if Vagrant::VERSION < "1.1.0"
raise "Please install vagrant-salt gem <=0.3.4 for Vagrant < 1.1.0"
end
require "vagrant"
module VagrantPlugins
module Salt
@ -25,7 +17,6 @@ module VagrantPlugins
require File.expand_path("../provisioner", __FILE__)
Provisioner
end
end
end
end
end