lib/vagrant/shared_helpers.rb in vagrant-unbundled-2.1.2.0 vs lib/vagrant/shared_helpers.rb in vagrant-unbundled-2.1.4.0
- old
+ new
@@ -128,9 +128,21 @@
else
true
end
end
+ # Automatically install locally defined plugins instead of
+ # waiting for user confirmation.
+ #
+ # @return [Boolean]
+ def self.auto_install_local_plugins?
+ if ENV["VAGRANT_INSTALL_LOCAL_PLUGINS"]
+ true
+ else
+ false
+ end
+ end
+
# Use Ruby Resolv in place of libc
#
# @return [boolean] enabled or not
def self.enable_resolv_replace
if ENV["VAGRANT_ENABLE_RESOLV_REPLACE"]