From 2216d23048eb7355e908ee8f7af5290f26774862 Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Wed, 17 Jul 2019 16:47:37 +0200 Subject: [PATCH] alpine: Remove version and out-of-tree checks --- plugins/guests/alpine/guest.rb | 10 +--------- plugins/guests/alpine/plugin.rb | 10 +--------- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/plugins/guests/alpine/guest.rb b/plugins/guests/alpine/guest.rb index 8d0d35912..e0330f916 100644 --- a/plugins/guests/alpine/guest.rb +++ b/plugins/guests/alpine/guest.rb @@ -1,12 +1,4 @@ -begin - require 'vagrant' -rescue LoadError - raise 'The Vagrant Alpine Linux Guest plugin must be run within Vagrant.' -end - -if Vagrant::VERSION < '1.7.0' - fail 'The vagrant-alpine plugin is only compatible with Vagrant 1.7+' -end +require 'vagrant' module VagrantPlugins module GuestAlpine diff --git a/plugins/guests/alpine/plugin.rb b/plugins/guests/alpine/plugin.rb index fdbd04a1b..ea71e8987 100644 --- a/plugins/guests/alpine/plugin.rb +++ b/plugins/guests/alpine/plugin.rb @@ -1,12 +1,4 @@ -begin - require 'vagrant' -rescue LoadError - raise 'The Vagrant Alpine Linux Guest plugin must be run within Vagrant.' -end - -if Vagrant::VERSION < '1.7.0' - fail 'The vagrant-alpine plugin is only compatible with Vagrant 1.7+' -end +require 'vagrant' module VagrantPlugins module GuestAlpine