vagrant-ovirt3 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1e2c3c06ee37413d725caa7ed7d96e3a4520bce7
4
- data.tar.gz: 07a489d90c737aa6bf7fc3953e5c75699af3b0f7
3
+ metadata.gz: 7a83e94bc6b24b236e3c6c7191d9e037571c3a3d
4
+ data.tar.gz: ff0be34d9bfd92cce4eccf98e9b9d7d37c1da69a
5
5
  SHA512:
6
- metadata.gz: ff9a450bad643033edaeddca60e72b4406ce50a368ca7dd400827b6e092795f2f0dcfcbc3d5bbde92dbb141a30976f3a18dba2f0149185a529f088a4dd43246f
7
- data.tar.gz: 27add50d6252ba1a660de93bc8973bcc493ab070242207c4f86790988a91b7ea61bce7f01af4ebf9f50c00abfcfe9d85736d7f7f427e7639c5f0073b78acb2a1
6
+ metadata.gz: 178635096f3a5897e9d98dcb50aaecde1b01dfe1318ebc2438d70006f4e4b58a4e69844dd3828929ec4b2c0fbc47b593d2228d00f7daf9c3e7ae439a2e01c703
7
+ data.tar.gz: 17f4844ddbb87b807fce768b1924e82399e744582c094a803277148ca41af4c894998d94e37ad93b563bab0a6a2ad8154fac32a56b1431960961b7a997de91ac
data/README.md CHANGED
@@ -8,6 +8,9 @@ allowing Vagrant to control and provision machines in oVirt and RHEV.
8
8
  In this document, both oVirt and RHEV names are used interchangeably and
9
9
  represent the same platform on top of which this provider should work.
10
10
 
11
+ ## Version 1.1.2
12
+ * Added missing certificate options and fixed usage on `ca_no_verify`
13
+
11
14
  ## Version 1.1.1
12
15
  * Added missing locales
13
16
  * Fixed box url in usage
@@ -34,6 +34,8 @@ module VagrantPlugins
34
34
  conn_attr[:ovirt_username] = config.username if config.username
35
35
  conn_attr[:ovirt_password] = config.password if config.password
36
36
  conn_attr[:ovirt_ca_no_verify] = config.ca_no_verify if config.ca_no_verify
37
+ conn_attr[:ovirt_ca_cert_store] = config.ca_cert_store if config.ca_cert_store
38
+ conn_attr[:ovirt_ca_cert_file] = config.ca_cert_file if config.ca_cert_file
37
39
 
38
40
  # We need datacenter id in fog connection initialization. But it's
39
41
  # much simpler to use datacenter name in Vagrantfile. So get
@@ -76,7 +78,10 @@ module VagrantPlugins
76
78
  credentials[:ovirt_password],
77
79
  credentials[:ovirt_url],
78
80
  { :datacenter_id => credentials[:ovirt_datacenter],
79
- :ca_no_verify => credentials[:ovirt_ca_no_verify] }
81
+ :ca_no_verify => credentials[:ovirt_ca_no_verify],
82
+ :ca_cert_store => credentials[:ovirt_ca_cert_store],
83
+ :ca_cert_file => credentials[:ovirt_ca_cert_file]
84
+ }
80
85
  )
81
86
  end
82
87
  end
@@ -17,6 +17,11 @@ module VagrantPlugins
17
17
  attr_accessor :console
18
18
  attr_accessor :disk_size
19
19
 
20
+ # TODO: change 'ca_cert_store' to 'ca_cert' once rbovirt PR #55 merges.
21
+ attr_accessor :ca_no_verify
22
+ attr_accessor :ca_cert_store
23
+ attr_accessor :ca_cert_file
24
+
20
25
  def initialize
21
26
  @url = UNSET_VALUE
22
27
  @username = UNSET_VALUE
@@ -32,6 +37,8 @@ module VagrantPlugins
32
37
  @disk_size = UNSET_VALUE
33
38
 
34
39
  @ca_no_verify = UNSET_VALUE
40
+ @ca_cert_store = UNSET_VALUE
41
+ @ca_cert_file = UNSET_VALUE
35
42
  end
36
43
 
37
44
  def finalize!
@@ -49,6 +56,8 @@ module VagrantPlugins
49
56
  @disk_size = nil if @disk_size == UNSET_VALUE
50
57
 
51
58
  @ca_no_verify = false if @ca_no_verify == UNSET_VALUE
59
+ @ca_cert_store = nil if @ca_cert_store == UNSET_VALUE
60
+ @ca_cert_file = nil if @ca_cert_file == UNSET_VALUE
52
61
  end
53
62
 
54
63
  def validate(machine)
@@ -1,6 +1,6 @@
1
1
  module VagrantPlugins
2
2
  module OVirtProvider
3
- VERSION = '1.1.1'
3
+ VERSION = '1.1.2'
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-ovirt3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcus Young
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-13 00:00:00.000000000 Z
11
+ date: 2015-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog