vagrant-openstack-plugin 0.1.1 → 0.1.2
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.
- data/Gemfile +1 -1
- data/README.md +6 -6
- data/lib/{vagrant-openstack → vagrant-openstack-plugin}/action/connect_openstack.rb +0 -0
- data/lib/{vagrant-openstack → vagrant-openstack-plugin}/action/create_server.rb +1 -1
- data/lib/{vagrant-openstack → vagrant-openstack-plugin}/action/delete_server.rb +0 -0
- data/lib/{vagrant-openstack → vagrant-openstack-plugin}/action/is_created.rb +0 -0
- data/lib/{vagrant-openstack → vagrant-openstack-plugin}/action/message_already_created.rb +0 -0
- data/lib/{vagrant-openstack → vagrant-openstack-plugin}/action/message_not_created.rb +0 -0
- data/lib/{vagrant-openstack → vagrant-openstack-plugin}/action/read_ssh_info.rb +0 -0
- data/lib/{vagrant-openstack → vagrant-openstack-plugin}/action/read_state.rb +0 -0
- data/lib/{vagrant-openstack → vagrant-openstack-plugin}/action/sync_folders.rb +0 -0
- data/lib/{vagrant-openstack → vagrant-openstack-plugin}/action/warn_networks.rb +0 -0
- data/lib/{vagrant-openstack → vagrant-openstack-plugin}/action.rb +0 -0
- data/lib/{vagrant-openstack → vagrant-openstack-plugin}/config.rb +0 -0
- data/lib/{vagrant-openstack → vagrant-openstack-plugin}/errors.rb +0 -0
- data/lib/{vagrant-openstack → vagrant-openstack-plugin}/plugin.rb +0 -0
- data/lib/{vagrant-openstack → vagrant-openstack-plugin}/provider.rb +1 -1
- data/lib/{vagrant-openstack → vagrant-openstack-plugin}/version.rb +1 -1
- data/lib/{vagrant-openstack.rb → vagrant-openstack-plugin.rb} +1 -1
- data/spec/{vagrant-openstack → vagrant-openstack-plugin}/config_spec.rb +1 -1
- data/{vagrant-openstack.gemspec → vagrant-openstack-plugin.gemspec} +4 -4
- metadata +30 -28
data/Gemfile
CHANGED
@@ -6,5 +6,5 @@ group :development do
|
|
6
6
|
# We depend on Vagrant for development, but we don't add it as a
|
7
7
|
# gem dependency because we expect to be installed within the
|
8
8
|
# Vagrant environment itself using `vagrant plugin`.
|
9
|
-
|
9
|
+
gem "vagrant", :git => "git://github.com/mitchellh/vagrant.git"
|
10
10
|
end
|
data/README.md
CHANGED
@@ -23,7 +23,7 @@ installing, `vagrant up` and specify the `openstack` provider. An example is
|
|
23
23
|
shown below.
|
24
24
|
|
25
25
|
```
|
26
|
-
$ vagrant plugin install vagrant-openstack
|
26
|
+
$ vagrant plugin install vagrant-openstack-plugin
|
27
27
|
...
|
28
28
|
$ vagrant up --provider=openstack
|
29
29
|
...
|
@@ -40,7 +40,7 @@ manually within a `config.vm.provider` block. So first, add the dummy
|
|
40
40
|
box using any name you want:
|
41
41
|
|
42
42
|
```
|
43
|
-
$ vagrant box add dummy https://github.com/cloudbau/vagrant-openstack/raw/master/dummy.box
|
43
|
+
$ vagrant box add dummy https://github.com/cloudbau/vagrant-openstack-plugin/raw/master/dummy.box
|
44
44
|
...
|
45
45
|
```
|
46
46
|
|
@@ -48,7 +48,7 @@ And then make a Vagrantfile that looks like the following, filling in
|
|
48
48
|
your information where necessary.
|
49
49
|
|
50
50
|
```
|
51
|
-
require 'vagrant-openstack'
|
51
|
+
require 'vagrant-openstack-plugin'
|
52
52
|
|
53
53
|
Vagrant.configure("2") do |config|
|
54
54
|
config.vm.box = "dummy"
|
@@ -79,7 +79,7 @@ no preconfigured defaults.
|
|
79
79
|
|
80
80
|
Every provider in Vagrant must introduce a custom box format. This
|
81
81
|
provider introduces `openstack` boxes. You can view an example box in
|
82
|
-
the [example_box/ directory](https://github.com/cloudbau/vagrant-openstack/tree/master/example_box).
|
82
|
+
the [example_box/ directory](https://github.com/cloudbau/vagrant-openstack-plugin/tree/master/example_box).
|
83
83
|
That directory also contains instructions on how to build a box.
|
84
84
|
|
85
85
|
The box format is basically just the required `metadata.json` file
|
@@ -121,7 +121,7 @@ end
|
|
121
121
|
## Networks
|
122
122
|
|
123
123
|
Networking features in the form of `config.vm.network` are not
|
124
|
-
supported with `vagrant-openstack`, currently. If any of these are
|
124
|
+
supported with `vagrant-openstack-plugin`, currently. If any of these are
|
125
125
|
specified, Vagrant will emit a warning, but will otherwise boot
|
126
126
|
the OpenStack server.
|
127
127
|
|
@@ -137,7 +137,7 @@ chef, and puppet) to work!
|
|
137
137
|
|
138
138
|
## Development
|
139
139
|
|
140
|
-
To work on the `vagrant-openstack` plugin, clone this repository out, and use
|
140
|
+
To work on the `vagrant-openstack-plugin` plugin, clone this repository out, and use
|
141
141
|
[Bundler](http://gembundler.com) to get the dependencies:
|
142
142
|
|
143
143
|
```
|
File without changes
|
@@ -55,7 +55,7 @@ module VagrantPlugins
|
|
55
55
|
|
56
56
|
# Wait for the server to finish building
|
57
57
|
env[:ui].info(I18n.t("vagrant_openstack.waiting_for_build"))
|
58
|
-
retryable(:on =>
|
58
|
+
retryable(:on => Fog::Errors::TimeoutError, :tries => 200) do
|
59
59
|
# If we're interrupted don't worry about waiting
|
60
60
|
next if env[:interrupted]
|
61
61
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,18 +1,18 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
lib = File.expand_path('../lib', __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'vagrant-openstack/version'
|
4
|
+
require 'vagrant-openstack-plugin/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |gem|
|
7
7
|
gem.name = "vagrant-openstack-plugin"
|
8
8
|
gem.version = VagrantPlugins::OpenStack::VERSION
|
9
|
-
gem.authors = ["Mitchell Hashimoto"]
|
10
|
-
gem.email = ["mitchell@hashicorp.com"]
|
9
|
+
gem.authors = ["Mitchell Hashimoto", "Thomas Kadauke"]
|
10
|
+
gem.email = ["mitchell@hashicorp.com", "t.kadauke@cloudbau.de"]
|
11
11
|
gem.description = "Enables Vagrant to manage machines in OpenStack Cloud."
|
12
12
|
gem.summary = "Enables Vagrant to manage machines in OpenStack Cloud."
|
13
13
|
gem.homepage = "http://www.vagrantup.com"
|
14
14
|
|
15
|
-
gem.add_runtime_dependency "fog"
|
15
|
+
gem.add_runtime_dependency "fog"
|
16
16
|
|
17
17
|
gem.add_development_dependency "rake"
|
18
18
|
gem.add_development_dependency "rspec", "~> 2.13.0"
|
metadata
CHANGED
@@ -1,32 +1,33 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-openstack-plugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Mitchell Hashimoto
|
9
|
+
- Thomas Kadauke
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date: 2013-
|
13
|
+
date: 2013-04-26 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: fog
|
16
17
|
requirement: !ruby/object:Gem::Requirement
|
17
18
|
none: false
|
18
19
|
requirements:
|
19
|
-
- -
|
20
|
+
- - ! '>='
|
20
21
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
22
|
+
version: '0'
|
22
23
|
type: :runtime
|
23
24
|
prerelease: false
|
24
25
|
version_requirements: !ruby/object:Gem::Requirement
|
25
26
|
none: false
|
26
27
|
requirements:
|
27
|
-
- -
|
28
|
+
- - ! '>='
|
28
29
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
30
|
+
version: '0'
|
30
31
|
- !ruby/object:Gem::Dependency
|
31
32
|
name: rake
|
32
33
|
requirement: !ruby/object:Gem::Requirement
|
@@ -62,6 +63,7 @@ dependencies:
|
|
62
63
|
description: Enables Vagrant to manage machines in OpenStack Cloud.
|
63
64
|
email:
|
64
65
|
- mitchell@hashicorp.com
|
66
|
+
- t.kadauke@cloudbau.de
|
65
67
|
executables: []
|
66
68
|
extensions: []
|
67
69
|
extra_rdoc_files: []
|
@@ -75,26 +77,26 @@ files:
|
|
75
77
|
- dummy.box
|
76
78
|
- example_box/README.md
|
77
79
|
- example_box/metadata.json
|
78
|
-
- lib/vagrant-openstack.rb
|
79
|
-
- lib/vagrant-openstack/action.rb
|
80
|
-
- lib/vagrant-openstack/action/connect_openstack.rb
|
81
|
-
- lib/vagrant-openstack/action/create_server.rb
|
82
|
-
- lib/vagrant-openstack/action/delete_server.rb
|
83
|
-
- lib/vagrant-openstack/action/is_created.rb
|
84
|
-
- lib/vagrant-openstack/action/message_already_created.rb
|
85
|
-
- lib/vagrant-openstack/action/message_not_created.rb
|
86
|
-
- lib/vagrant-openstack/action/read_ssh_info.rb
|
87
|
-
- lib/vagrant-openstack/action/read_state.rb
|
88
|
-
- lib/vagrant-openstack/action/sync_folders.rb
|
89
|
-
- lib/vagrant-openstack/action/warn_networks.rb
|
90
|
-
- lib/vagrant-openstack/config.rb
|
91
|
-
- lib/vagrant-openstack/errors.rb
|
92
|
-
- lib/vagrant-openstack/plugin.rb
|
93
|
-
- lib/vagrant-openstack/provider.rb
|
94
|
-
- lib/vagrant-openstack/version.rb
|
80
|
+
- lib/vagrant-openstack-plugin.rb
|
81
|
+
- lib/vagrant-openstack-plugin/action.rb
|
82
|
+
- lib/vagrant-openstack-plugin/action/connect_openstack.rb
|
83
|
+
- lib/vagrant-openstack-plugin/action/create_server.rb
|
84
|
+
- lib/vagrant-openstack-plugin/action/delete_server.rb
|
85
|
+
- lib/vagrant-openstack-plugin/action/is_created.rb
|
86
|
+
- lib/vagrant-openstack-plugin/action/message_already_created.rb
|
87
|
+
- lib/vagrant-openstack-plugin/action/message_not_created.rb
|
88
|
+
- lib/vagrant-openstack-plugin/action/read_ssh_info.rb
|
89
|
+
- lib/vagrant-openstack-plugin/action/read_state.rb
|
90
|
+
- lib/vagrant-openstack-plugin/action/sync_folders.rb
|
91
|
+
- lib/vagrant-openstack-plugin/action/warn_networks.rb
|
92
|
+
- lib/vagrant-openstack-plugin/config.rb
|
93
|
+
- lib/vagrant-openstack-plugin/errors.rb
|
94
|
+
- lib/vagrant-openstack-plugin/plugin.rb
|
95
|
+
- lib/vagrant-openstack-plugin/provider.rb
|
96
|
+
- lib/vagrant-openstack-plugin/version.rb
|
95
97
|
- locales/en.yml
|
96
|
-
- spec/vagrant-openstack/config_spec.rb
|
97
|
-
- vagrant-openstack.gemspec
|
98
|
+
- spec/vagrant-openstack-plugin/config_spec.rb
|
99
|
+
- vagrant-openstack-plugin.gemspec
|
98
100
|
homepage: http://www.vagrantup.com
|
99
101
|
licenses: []
|
100
102
|
post_install_message:
|
@@ -109,7 +111,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
109
111
|
version: '0'
|
110
112
|
segments:
|
111
113
|
- 0
|
112
|
-
hash: -
|
114
|
+
hash: -4588673756793297691
|
113
115
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
114
116
|
none: false
|
115
117
|
requirements:
|
@@ -118,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
118
120
|
version: '0'
|
119
121
|
segments:
|
120
122
|
- 0
|
121
|
-
hash: -
|
123
|
+
hash: -4588673756793297691
|
122
124
|
requirements: []
|
123
125
|
rubyforge_project:
|
124
126
|
rubygems_version: 1.8.24
|
@@ -126,4 +128,4 @@ signing_key:
|
|
126
128
|
specification_version: 3
|
127
129
|
summary: Enables Vagrant to manage machines in OpenStack Cloud.
|
128
130
|
test_files:
|
129
|
-
- spec/vagrant-openstack/config_spec.rb
|
131
|
+
- spec/vagrant-openstack-plugin/config_spec.rb
|