Class: VagrantPlugins::Cloudcenter::Config
- Inherits:
-
Object
- Object
- VagrantPlugins::Cloudcenter::Config
- Defined in:
- lib/vagrant-cloudcenter/config.rb
Instance Attribute Summary collapse
-
#access_key ⇒ String
The access key ID for accessing Cloudcenter.
-
#deployment_config ⇒ String
JSON config representing the environment to be deployed.
-
#host ⇒ String
The address of the host.
-
#ssl_ca_file ⇒ String
Path to the SSL CA file.
-
#use_https ⇒ boolean
Whether or not to use HTTPS.
-
#username ⇒ String
Comment to use when provisioning the VM.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
36 37 38 39 40 41 42 43 |
# File 'lib/vagrant-cloudcenter/config.rb', line 36 def initialize() @access_key = UNSET_VALUE @host = UNSET_VALUE @username = UNSET_VALUE @deployment_config = UNSET_VALUE @use_https = true @ssl_ca_file = '' end |
Instance Attribute Details
#access_key ⇒ String
The access key ID for accessing Cloudcenter.
9 10 11 |
# File 'lib/vagrant-cloudcenter/config.rb', line 9 def access_key @access_key end |
#deployment_config ⇒ String
JSON config representing the environment to be deployed
24 25 26 |
# File 'lib/vagrant-cloudcenter/config.rb', line 24 def deployment_config @deployment_config end |
#host ⇒ String
The address of the host
14 15 16 |
# File 'lib/vagrant-cloudcenter/config.rb', line 14 def host @host end |
#ssl_ca_file ⇒ String
Path to the SSL CA file
34 35 36 |
# File 'lib/vagrant-cloudcenter/config.rb', line 34 def ssl_ca_file @ssl_ca_file end |
#use_https ⇒ boolean
Whether or not to use HTTPS
29 30 31 |
# File 'lib/vagrant-cloudcenter/config.rb', line 29 def use_https @use_https end |
#username ⇒ String
Comment to use when provisioning the VM
19 20 21 |
# File 'lib/vagrant-cloudcenter/config.rb', line 19 def username @username end |