From fb90c67a49a5163dd1c8e734e50aff8bf192a288 Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Sun, 5 Jun 2016 19:57:58 -0400 Subject: [PATCH] guests/smartos: Remove deprecated options --- plugins/guests/smartos/config.rb | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/plugins/guests/smartos/config.rb b/plugins/guests/smartos/config.rb index 201141ed5..025061108 100644 --- a/plugins/guests/smartos/config.rb +++ b/plugins/guests/smartos/config.rb @@ -1,26 +1,14 @@ module VagrantPlugins module GuestSmartos class Config < Vagrant.plugin("2", :config) - attr_accessor :halt_timeout - attr_accessor :halt_check_interval - # This sets the command to use to execute items as a superuser. sudo is default + # This sets the command to use to execute items as a superuser. + # @default sudo attr_accessor :suexec_cmd attr_accessor :device def initialize - @halt_timeout = UNSET_VALUE - @halt_check_interval = UNSET_VALUE @suexec_cmd = 'pfexec' - @device = "e1000g" - end - - def finalize! - if @halt_timeout != UNSET_VALUE - puts "smartos.halt_timeout is deprecated and will be removed in Vagrant 1.7" - end - if @halt_check_interval != UNSET_VALUE - puts "smartos.halt_check_interval is deprecated and will be removed in Vagrant 1.7" - end + @device = "e1000g" end end end