Sha256: ef64ecbe4abadac2f7f57efc9f72c64c2c0dbe7dca726f9ef25e7d3933cbc12c

Contents?: true

Size: 823 Bytes

Versions: 7

Compression:

Stored size: 823 Bytes

Contents

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
      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
      end
    end
  end
end

Version data entries

7 entries across 4 versions & 3 rubygems

Version Path
vagrant-unbundled-1.8.1.2 plugins/guests/smartos/config.rb
vagrant-unbundled-1.8.1.1 plugins/guests/smartos/config.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-272fb27e0536/plugins/guests/smartos/config.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-b421af58e8b3/plugins/guests/smartos/config.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-309e896975d1/plugins/guests/smartos/config.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-1cf2a8db4ccb/plugins/guests/smartos/config.rb
vagrant-tiktalik-0.0.3 vendor/bundle/ruby/2.0.0/bundler/gems/vagrant-1e28f1ac31e7/plugins/guests/smartos/config.rb