vagrant-ovirt3 1.1.2 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -17
- data/Gemfile +7 -2
- data/README.md +6 -42
- data/lib/vagrant-ovirt3/action/connect_ovirt.rb +3 -1
- data/lib/vagrant-ovirt3/config.rb +3 -0
- data/lib/vagrant-ovirt3/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd7169ec49f52e7643c9e559afd8d4780c60df54
|
4
|
+
data.tar.gz: efc888c31c0240929079252b617e63edbd0874d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d854df91f685af9e3279977757ff529a722a5a8cbb37be9435b98158e424a0e1085281a97ba84bf18233865449438722564253a518902df5fbd23a2f6989569b
|
7
|
+
data.tar.gz: a80393f2798818b005bed078d3c2a2b1c1e4be5fb9dab94782e3f246aa1928d68c323df7720bffd866a08d8c10ee0dfca2d1e09eaf3d2e07cbf3b9851cf7b05b
|
data/.gitignore
CHANGED
@@ -1,20 +1,3 @@
|
|
1
1
|
*.gem
|
2
|
-
*.rbc
|
3
2
|
.bundle
|
4
|
-
.config
|
5
|
-
.yardoc
|
6
3
|
Gemfile.lock
|
7
|
-
InstalledFiles
|
8
|
-
_yardoc
|
9
|
-
coverage
|
10
|
-
doc/
|
11
|
-
lib/bundler/man
|
12
|
-
pkg
|
13
|
-
rdoc
|
14
|
-
spec/reports
|
15
|
-
test/tmp
|
16
|
-
test/version_tmp
|
17
|
-
tmp
|
18
|
-
Vagrantfile
|
19
|
-
!example_box/Vagrantfile
|
20
|
-
.vagrant
|
data/Gemfile
CHANGED
@@ -1,4 +1,9 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
|
4
|
-
|
3
|
+
group :development do
|
4
|
+
gem 'vagrant', :git => 'git://github.com/mitchellh/vagrant.git'
|
5
|
+
end
|
6
|
+
|
7
|
+
group :plugins do
|
8
|
+
gem 'vagrant-ovirt3', :path => '.'
|
9
|
+
end
|
data/README.md
CHANGED
@@ -8,51 +8,10 @@ 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
|
-
|
14
|
-
## Version 1.1.1
|
15
|
-
* Added missing locales
|
16
|
-
* Fixed box url in usage
|
17
|
-
|
18
|
-
## Version 1.1.0
|
19
|
-
* Added `ca_no_verify` configuration parameter to allow self-signed certificates, etc.
|
20
|
-
* Fixed missing RsyncError locale lookup
|
21
|
-
* Fixed base dummy box
|
22
|
-
* Removed default provider, breaks with Vagrant 1.7
|
23
|
-
* Fix broken EPEL EL7 link.
|
24
|
-
* Check whether synced folder is disabled before trying to rsync.
|
25
|
-
|
26
|
-
## Version 1.0.0
|
27
|
-
* Complete overhaul of naming schemes. Vagrant-ovirt upstream is deprecated. The provider going forward is 'ovirt3' to allow gem/plugin availability.
|
28
|
-
* Volumes are automatically resized
|
29
|
-
|
30
|
-
## Version 0.2.1
|
31
|
-
* Removed automatic resizing, will be readded when upstream fog changes are committed to rubygems.org
|
32
|
-
|
33
|
-
## Features (Version 0.2.0)
|
34
|
-
* ~~Volumes are automatically resized~~
|
35
|
-
* Replaced configuration to get IP configuration with REST API usage
|
36
|
-
|
37
|
-
## Features (Version 0.1.0)
|
38
|
-
|
39
|
-
* Vagrant `up` and `destroy` commands.
|
40
|
-
* Create and boot oVirt machines from templates.
|
41
|
-
* SSH into domains.
|
42
|
-
* Provision domains with any built-in Vagrant provisioner.
|
43
|
-
* Minimal synced folder support via `rsync`.
|
44
|
-
|
45
|
-
## Future work
|
46
|
-
|
47
|
-
* Validation of configuration parameters.
|
48
|
-
* Test it on other versions of oVirt and RHEV.
|
49
|
-
* Template preparation scripts for other distros than RHEL.
|
50
|
-
* Vagrant commands `halt`, `resume`, `ssh`, `provision`, `suspend` and `resume`.
|
51
|
-
* Take a look at [open issues](https://github.com/myoung34/vagrant-ovirt3/issues?state=open).
|
52
|
-
|
53
11
|
## Installation
|
54
12
|
|
55
13
|
```
|
14
|
+
$ vagrant plugin uninstall vagrant-ovirt
|
56
15
|
$ vagrant plugin install vagrant-ovirt3
|
57
16
|
$ vagrant up --provider=ovirt3
|
58
17
|
```
|
@@ -93,7 +52,12 @@ This provider exposes quite a few provider-specific configuration options:
|
|
93
52
|
* `password` - Password to access oVirt.
|
94
53
|
* `datacenter` - oVirt datacenter name, where machines will be created.
|
95
54
|
* `cluster` - oVirt cluster name. Defaults to first cluster found.
|
55
|
+
* `filtered_api` - Set to `true` if oVirt user does not have admin priviliges.
|
96
56
|
* `ca_no_verify` - Set to `true` to not verify TLS certificates.
|
57
|
+
* `ca_cert_store` - Certificate authority store to use for verification (this
|
58
|
+
option will be replaced with `ca_cert` in a future version).
|
59
|
+
* `ca_cert_file` - Like `ca_cert_store`, but provides a file containing a single
|
60
|
+
certificate.
|
97
61
|
|
98
62
|
### Domain Specific Options
|
99
63
|
|
@@ -36,6 +36,7 @@ module VagrantPlugins
|
|
36
36
|
conn_attr[:ovirt_ca_no_verify] = config.ca_no_verify if config.ca_no_verify
|
37
37
|
conn_attr[:ovirt_ca_cert_store] = config.ca_cert_store if config.ca_cert_store
|
38
38
|
conn_attr[:ovirt_ca_cert_file] = config.ca_cert_file if config.ca_cert_file
|
39
|
+
conn_attr[:ovirt_filtered_api] = config.filtered_api if config.filtered_api
|
39
40
|
|
40
41
|
# We need datacenter id in fog connection initialization. But it's
|
41
42
|
# much simpler to use datacenter name in Vagrantfile. So get
|
@@ -80,7 +81,8 @@ module VagrantPlugins
|
|
80
81
|
{ :datacenter_id => credentials[:ovirt_datacenter],
|
81
82
|
:ca_no_verify => credentials[:ovirt_ca_no_verify],
|
82
83
|
:ca_cert_store => credentials[:ovirt_ca_cert_store],
|
83
|
-
:ca_cert_file => credentials[:ovirt_ca_cert_file]
|
84
|
+
:ca_cert_file => credentials[:ovirt_ca_cert_file],
|
85
|
+
:filtered_api => credentials[:ovirt_filtered_api]
|
84
86
|
}
|
85
87
|
)
|
86
88
|
end
|
@@ -9,6 +9,7 @@ module VagrantPlugins
|
|
9
9
|
attr_accessor :password
|
10
10
|
attr_accessor :datacenter
|
11
11
|
attr_accessor :cluster
|
12
|
+
attr_accessor :filtered_api
|
12
13
|
|
13
14
|
# Domain specific settings used while creating new machine.
|
14
15
|
attr_accessor :memory
|
@@ -28,6 +29,7 @@ module VagrantPlugins
|
|
28
29
|
@password = UNSET_VALUE
|
29
30
|
@datacenter = UNSET_VALUE
|
30
31
|
@cluster = UNSET_VALUE
|
32
|
+
@filtered_api = UNSET_VALUE
|
31
33
|
|
32
34
|
# Domain specific settings.
|
33
35
|
@memory = UNSET_VALUE
|
@@ -47,6 +49,7 @@ module VagrantPlugins
|
|
47
49
|
@password = nil if @password == UNSET_VALUE
|
48
50
|
@datacenter = nil if @datacenter == UNSET_VALUE
|
49
51
|
@cluster = nil if @cluster == UNSET_VALUE
|
52
|
+
@filtered_api = false if @filtered_api == UNSET_VALUE
|
50
53
|
|
51
54
|
# Domain specific settings.
|
52
55
|
@memory = 512 if @memory == UNSET_VALUE
|
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.
|
4
|
+
version: 1.2.0
|
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-
|
11
|
+
date: 2015-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog
|