lib/catfish/cli/provision.rb in catfish-0.0.3 vs lib/catfish/cli/provision.rb in catfish-0.0.4
- old
+ new
@@ -7,11 +7,10 @@
end
def run
p 'Provisioning to servers using Catfishfile.lock'
vagrant_version
- vagrant_plugins
begin
# Connect to the servers. The --provider=managed is the key here.
system("vagrant up --provider=#{options[:provider]}")
# Confirm the connectivity
@@ -33,17 +32,9 @@
private
def vagrant_version
vagrant_version = 'Vagrant 1.6'
fail "#{vagrant_version} or greater is a prerequisite" unless `vagrant --version`.include? vagrant_version
- end
-
- def vagrant_plugins
- # Make sure that the vagrant-managed-servers plugin is installed
- plugins = ['vagrant-managed-servers']
- plugins.each do |plugin|
- system("vagrant plugin install #{plugin}") unless `vagrant plugin list`.include? plugin
- end
end
def provision
if options[:parallel]
machines = status.split("\n").collect do |line|