Class: VagrantPlugins::ProviderLocal::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-local/config.rb

Overview

This is used define the variables for the project

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/vagrant-local/config.rb', line 12

def initialize
  super
  @brand = 'aws'
  @kernel = nil
  @boxshortname = UNSET_VALUE
  @debug = nil
  @boot = UNSET_VALUE
  @box = UNSET_VALUE
  @clean_shutdown_time = 300
  @vmtype = 'production'
  @partition_id = '0000'
  @sshport = '22'
  @rdpport = '3389'
  @vagrant_user = 'vagrant'
  @vagrant_user_pass = 'vagrant'
  @vagrant_user_private_key_path = './id_rsa'
end

Instance Attribute Details

#bootObject

Returns the value of attribute boot.



9
10
11
# File 'lib/vagrant-local/config.rb', line 9

def boot
  @boot
end

#boxObject

Returns the value of attribute box.



9
10
11
# File 'lib/vagrant-local/config.rb', line 9

def box
  @box
end

#boxshortnameObject

Returns the value of attribute boxshortname.



9
10
11
# File 'lib/vagrant-local/config.rb', line 9

def boxshortname
  @boxshortname
end

#brandObject

Returns the value of attribute brand.



9
10
11
# File 'lib/vagrant-local/config.rb', line 9

def brand
  @brand
end

#clean_shutdown_timeObject

Returns the value of attribute clean_shutdown_time.



9
10
11
# File 'lib/vagrant-local/config.rb', line 9

def clean_shutdown_time
  @clean_shutdown_time
end

#debugObject

Returns the value of attribute debug.



9
10
11
# File 'lib/vagrant-local/config.rb', line 9

def debug
  @debug
end

#kernelObject

Returns the value of attribute kernel.



9
10
11
# File 'lib/vagrant-local/config.rb', line 9

def kernel
  @kernel
end

#partition_idObject

Returns the value of attribute partition_id.



9
10
11
# File 'lib/vagrant-local/config.rb', line 9

def partition_id
  @partition_id
end

#rdpportObject

Returns the value of attribute rdpport.



9
10
11
# File 'lib/vagrant-local/config.rb', line 9

def rdpport
  @rdpport
end

#sshportObject

Returns the value of attribute sshport.



9
10
11
# File 'lib/vagrant-local/config.rb', line 9

def sshport
  @sshport
end

#vagrant_cloud_creatorObject

Returns the value of attribute vagrant_cloud_creator.



9
10
11
# File 'lib/vagrant-local/config.rb', line 9

def vagrant_cloud_creator
  @vagrant_cloud_creator
end

#vagrant_userObject

Returns the value of attribute vagrant_user.



9
10
11
# File 'lib/vagrant-local/config.rb', line 9

def vagrant_user
  @vagrant_user
end

#vagrant_user_passObject

Returns the value of attribute vagrant_user_pass.



9
10
11
# File 'lib/vagrant-local/config.rb', line 9

def vagrant_user_pass
  @vagrant_user_pass
end

#vagrant_user_private_key_pathObject

Returns the value of attribute vagrant_user_private_key_path.



9
10
11
# File 'lib/vagrant-local/config.rb', line 9

def vagrant_user_private_key_path
  @vagrant_user_private_key_path
end

#vm_typeObject

Returns the value of attribute vm_type.



9
10
11
# File 'lib/vagrant-local/config.rb', line 9

def vm_type
  @vm_type
end