lib/vagrant-puppet-install/plugin.rb in vagrant-puppet-install-4.0.0 vs lib/vagrant-puppet-install/plugin.rb in vagrant-puppet-install-4.0.1

- old
+ new

@@ -5,11 +5,11 @@ description <<-DESC This plugin ensures the desired version of Puppet is installed via the Puppet Labs package repos. DESC - VAGRANT_VERSION_REQUIREMENT = '>= 1.1.0' + VAGRANT_VERSION_REQUIREMENT = '>= 1.1.0'.freeze # Returns true if the Vagrant version fulfills the requirements # # @param requirements [String, Array<String>] the version requirement # @return [Boolean] @@ -26,10 +26,10 @@ unless check_vagrant_version(VAGRANT_VERSION_REQUIREMENT) msg = I18n.t( 'vagrant-puppet_install.errors.vagrant_version', requirement: VAGRANT_VERSION_REQUIREMENT.inspect) $stderr.puts msg - fail msg + raise msg end end action_hook(:install_puppet, Plugin::ALL_ACTIONS) do |hook| require_relative 'action/install_puppet'