vagrant-cloudstack 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +18 -19
- data/.ruby-version +1 -1
- data/.travis.yml +19 -19
- data/CHANGELOG.md +179 -171
- data/Docker/.dockerignore +2 -0
- data/Docker/Dockerfile +51 -0
- data/Docker/Dockerfile.chefdk_0_17 +49 -0
- data/Docker/Dockerfile.latest_dependencies +49 -0
- data/Docker/README.md +67 -0
- data/Docker/vac.ps1 +29 -0
- data/Docker/vac.sh +30 -0
- data/Gemfile +20 -20
- data/LICENSE +8 -8
- data/README.md +416 -416
- data/Rakefile +106 -99
- data/bootstrap.key +27 -0
- data/build_rpm.sh +7 -7
- data/functional-tests/basic/Vagrantfile.basic_networking +45 -45
- data/functional-tests/basic/basic_spec.rb +21 -21
- data/functional-tests/networking/Vagrantfile.advanced_networking +119 -102
- data/functional-tests/networking/networking_spec.rb +14 -0
- data/functional-tests/rsync/Vagrantfile.advanced_networking +39 -56
- data/functional-tests/rsync/rsync_spec.rb +9 -9
- data/functional-tests/vmlifecycle/Vagrantfile.advanced_networking +66 -82
- data/functional-tests/vmlifecycle/vmlifecycle_spec.rb +13 -13
- data/lib/vagrant-cloudstack/action/connect_cloudstack.rb +47 -47
- data/lib/vagrant-cloudstack/action/is_created.rb +18 -18
- data/lib/vagrant-cloudstack/action/is_stopped.rb +18 -18
- data/lib/vagrant-cloudstack/action/message_already_created.rb +16 -16
- data/lib/vagrant-cloudstack/action/message_not_created.rb +16 -16
- data/lib/vagrant-cloudstack/action/message_will_not_destroy.rb +16 -16
- data/lib/vagrant-cloudstack/action/read_rdp_info.rb +76 -76
- data/lib/vagrant-cloudstack/action/read_ssh_info.rb +104 -87
- data/lib/vagrant-cloudstack/action/read_state.rb +38 -38
- data/lib/vagrant-cloudstack/action/read_winrm_info.rb +103 -103
- data/lib/vagrant-cloudstack/action/run_instance.rb +798 -703
- data/lib/vagrant-cloudstack/action/start_instance.rb +81 -81
- data/lib/vagrant-cloudstack/action/stop_instance.rb +28 -28
- data/lib/vagrant-cloudstack/action/terminate_instance.rb +269 -224
- data/lib/vagrant-cloudstack/action/timed_provision.rb +21 -21
- data/lib/vagrant-cloudstack/action/wait_for_state.rb +41 -41
- data/lib/vagrant-cloudstack/action/warn_networks.rb +19 -19
- data/lib/vagrant-cloudstack/action.rb +210 -210
- data/lib/vagrant-cloudstack/capabilities/rdp.rb +12 -12
- data/lib/vagrant-cloudstack/capabilities/winrm.rb +12 -12
- data/lib/vagrant-cloudstack/config.rb +566 -548
- data/lib/vagrant-cloudstack/errors.rb +27 -27
- data/lib/vagrant-cloudstack/exceptions/exceptions.rb +10 -10
- data/lib/vagrant-cloudstack/model/cloudstack_resource.rb +51 -33
- data/lib/vagrant-cloudstack/plugin.rb +82 -82
- data/lib/vagrant-cloudstack/provider.rb +58 -58
- data/lib/vagrant-cloudstack/service/cloudstack_resource_service.rb +64 -58
- data/lib/vagrant-cloudstack/util/timer.rb +17 -17
- data/lib/vagrant-cloudstack/version.rb +5 -5
- data/lib/vagrant-cloudstack.rb +17 -17
- data/locales/en.yml +131 -123
- data/spec/spec_helper.rb +8 -6
- data/spec/vagrant-cloudstack/action/read_ssh_info_spec.rb +80 -0
- data/spec/vagrant-cloudstack/config_spec.rb +355 -355
- data/spec/vagrant-cloudstack/model/cloudstack_resource_spec.rb +95 -73
- data/spec/vagrant-cloudstack/service/cloudstack_resource_service_spec.rb +43 -43
- data/spec/vagrant-cloudstack/support/be_a_resource.rb +6 -0
- data/vagrant-cloudstack.gemspec +59 -59
- data/vagrant-cloudstack.spec +42 -42
- metadata +14 -7
- data/dummy.box +0 -0
- data/example_box/README.md +0 -13
- data/example_box/metadata.json +0 -3
- data/functional-tests/networking/rsync_spec.rb +0 -12
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-cloudstack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mitchell Hashimoto
|
@@ -22,7 +22,7 @@ authors:
|
|
22
22
|
autorequire:
|
23
23
|
bindir: bin
|
24
24
|
cert_chain: []
|
25
|
-
date: 2016-
|
25
|
+
date: 2016-11-30 00:00:00.000000000 Z
|
26
26
|
dependencies:
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: fog
|
@@ -135,18 +135,23 @@ files:
|
|
135
135
|
- ".ruby-version"
|
136
136
|
- ".travis.yml"
|
137
137
|
- CHANGELOG.md
|
138
|
+
- Docker/.dockerignore
|
139
|
+
- Docker/Dockerfile
|
140
|
+
- Docker/Dockerfile.chefdk_0_17
|
141
|
+
- Docker/Dockerfile.latest_dependencies
|
142
|
+
- Docker/README.md
|
143
|
+
- Docker/vac.ps1
|
144
|
+
- Docker/vac.sh
|
138
145
|
- Gemfile
|
139
146
|
- LICENSE
|
140
147
|
- README.md
|
141
148
|
- Rakefile
|
149
|
+
- bootstrap.key
|
142
150
|
- build_rpm.sh
|
143
|
-
- dummy.box
|
144
|
-
- example_box/README.md
|
145
|
-
- example_box/metadata.json
|
146
151
|
- functional-tests/basic/Vagrantfile.basic_networking
|
147
152
|
- functional-tests/basic/basic_spec.rb
|
148
153
|
- functional-tests/networking/Vagrantfile.advanced_networking
|
149
|
-
- functional-tests/networking/
|
154
|
+
- functional-tests/networking/networking_spec.rb
|
150
155
|
- functional-tests/rsync/Vagrantfile.advanced_networking
|
151
156
|
- functional-tests/rsync/rsync_spec.rb
|
152
157
|
- functional-tests/vmlifecycle/Vagrantfile.advanced_networking
|
@@ -183,12 +188,14 @@ files:
|
|
183
188
|
- lib/vagrant-cloudstack/version.rb
|
184
189
|
- locales/en.yml
|
185
190
|
- spec/spec_helper.rb
|
191
|
+
- spec/vagrant-cloudstack/action/read_ssh_info_spec.rb
|
186
192
|
- spec/vagrant-cloudstack/config_spec.rb
|
187
193
|
- spec/vagrant-cloudstack/model/cloudstack_resource_spec.rb
|
188
194
|
- spec/vagrant-cloudstack/service/cloudstack_resource_service_spec.rb
|
195
|
+
- spec/vagrant-cloudstack/support/be_a_resource.rb
|
189
196
|
- vagrant-cloudstack.gemspec
|
190
197
|
- vagrant-cloudstack.spec
|
191
|
-
homepage: https://github.com/
|
198
|
+
homepage: https://github.com/missioncriticalcloud/vagrant-cloudstack/
|
192
199
|
licenses:
|
193
200
|
- MIT
|
194
201
|
metadata: {}
|
data/dummy.box
DELETED
Binary file
|
data/example_box/README.md
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
# Vagrant Cloudstack Example Box
|
2
|
-
|
3
|
-
Vagrant providers each require a custom provider-specific box format.
|
4
|
-
This folder shows the example contents of a box for the `aws` provider.
|
5
|
-
To turn this into a box:
|
6
|
-
|
7
|
-
```
|
8
|
-
$ tar cvzf cloudstack.box ./metadata.json ./Vagrantfile
|
9
|
-
```
|
10
|
-
|
11
|
-
This box works by using Vagrant's built-in Vagrantfile merging to setup
|
12
|
-
defaults for Cloudstack. These defaults can easily be overwritten by higher-level
|
13
|
-
Vagrantfiles (such as project root Vagrantfiles).
|
data/example_box/metadata.json
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
describe 'Networking features' do
|
2
|
-
it 'creates firewall and portwarding rules' do
|
3
|
-
expect(`vagrant up`).to include(
|
4
|
-
'box1: Machine is booted and ready for use!',
|
5
|
-
'box2: Machine is booted and ready for use!'
|
6
|
-
)
|
7
|
-
expect($?.exitstatus).to eq(0)
|
8
|
-
|
9
|
-
expect(`vagrant destroy --force`).to include('Terminating the instance...')
|
10
|
-
expect($?.exitstatus).to eq(0)
|
11
|
-
end
|
12
|
-
end
|