vagrant-chassis-digitalocean 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/box/{digital_ocean.box → chassis_digitalocean.box} +0 -0
- data/box/metadata.json +1 -1
- data/lib/vagrant-chassis-digitalocean/plugin.rb +2 -2
- data/lib/vagrant-chassis-digitalocean/version.rb +1 -1
- data/locales/en.yml +1 -1
- data/test/Vagrantfile +4 -4
- data/test/test.sh +3 -3
- data/test/test_id_rsa.pub +1 -1
- metadata +3 -11
- data/vagrant-chassis-digitalocean/.gitignore +0 -17
- data/vagrant-chassis-digitalocean/Gemfile +0 -4
- data/vagrant-chassis-digitalocean/LICENSE.txt +0 -22
- data/vagrant-chassis-digitalocean/README.md +0 -29
- data/vagrant-chassis-digitalocean/Rakefile +0 -1
- data/vagrant-chassis-digitalocean/lib/vagrant/chassis/digitalocean.rb +0 -9
- data/vagrant-chassis-digitalocean/lib/vagrant/chassis/digitalocean/version.rb +0 -7
- data/vagrant-chassis-digitalocean/vagrant-chassis-digitalocean.gemspec +0 -23
data/README.md
CHANGED
@@ -59,7 +59,7 @@ After creating your project's `Vagrantfile` with the required configuration
|
|
59
59
|
attributes described above, you may create a new droplet with the following
|
60
60
|
command:
|
61
61
|
|
62
|
-
$ vagrant up --provider=
|
62
|
+
$ vagrant up --provider=chassis_digitalocean
|
63
63
|
|
64
64
|
This command will create a new droplet, setup your SSH key for authentication,
|
65
65
|
create a new user account, and run the provisioners you have configured.
|
File without changes
|
data/box/metadata.json
CHANGED
@@ -7,12 +7,12 @@ module VagrantPlugins
|
|
7
7
|
machines using DigitalOcean's API.
|
8
8
|
DESC
|
9
9
|
|
10
|
-
config(:
|
10
|
+
config(:chassis_digitalocean, :provider) do
|
11
11
|
require_relative 'config'
|
12
12
|
Config
|
13
13
|
end
|
14
14
|
|
15
|
-
provider(:
|
15
|
+
provider(:chassis_digitalocean) do
|
16
16
|
require_relative 'provider'
|
17
17
|
Provider
|
18
18
|
end
|
data/locales/en.yml
CHANGED
data/test/Vagrantfile
CHANGED
@@ -9,8 +9,8 @@ Vagrant.configure('2') do |config|
|
|
9
9
|
|
10
10
|
config.vm.synced_folder '.', '/vagrant', :disabled => true
|
11
11
|
|
12
|
-
config.vm.provider :
|
13
|
-
override.vm.box = '
|
12
|
+
config.vm.provider :chassis_digitalocean do |provider, override|
|
13
|
+
override.vm.box = 'chassis_digitalocean'
|
14
14
|
override.vm.box_url = "https://github.com/smdahlen/vagrant-digitalocean/raw/master/box/digital_ocean.box"
|
15
15
|
provider.client_id = ENV['DO_CLIENT_ID']
|
16
16
|
provider.api_key = ENV['DO_API_KEY']
|
@@ -25,13 +25,13 @@ Vagrant.configure('2') do |config|
|
|
25
25
|
end
|
26
26
|
|
27
27
|
config.vm.define :ubuntu do |ubuntu|
|
28
|
-
ubuntu.vm.provider :
|
28
|
+
ubuntu.vm.provider :chassis_digitalocean do |provider|
|
29
29
|
provider.image = 'Ubuntu 12.04.4 x64'
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
33
33
|
config.vm.define :centos do |centos|
|
34
|
-
centos.vm.provider :
|
34
|
+
centos.vm.provider :chassis_digitalocean do |provider|
|
35
35
|
provider.image = 'CentOS 6.4 x64'
|
36
36
|
end
|
37
37
|
end
|
data/test/test.sh
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
# if ! vagrant box list | grep
|
2
|
-
# vagrant box add
|
1
|
+
# if ! vagrant box list | grep chassis_digitalocean 1>/dev/null; then
|
2
|
+
# vagrant box add chassis_digitalocean box/chassis_digitalocean.box
|
3
3
|
# fi
|
4
4
|
|
5
5
|
cd test
|
6
6
|
|
7
|
-
vagrant up --provider=
|
7
|
+
vagrant up --provider=chassis_digitalocean
|
8
8
|
vagrant up
|
9
9
|
vagrant provision
|
10
10
|
vagrant rebuild
|
data/test/test_id_rsa.pub
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCbFlHJ++BcXGU9b2K+jF990r16uqkKnWiK2CFS0PFvM9IJs3CoGiIlyc9UD9O4LEyeu5Rw0RdiAp9MvyUPcDUeibw3WlMCFJ53mbioAapMy5tPXmxxJH5KcN2uJKESsH/1hJv0tWfVpHQywVLcf/7HWPjDl3qEFqzwGEN+5V3XqyG+hoA4rLTLDL40G68bL/oC7ere3sz3B16U4NGdgtJZapot5gTFErFZZztql76h25Ch7isE1XAaYg6NY4z1oU8Q9Ud0sY74tDI8TF165LStb3prf1TinwaMbOyuQ1wrNU4aMzekiwazeo6LtHMnfPjweIGP01PwjZ8WkYcRF6tt
|
1
|
+
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCbFlHJ++BcXGU9b2K+jF990r16uqkKnWiK2CFS0PFvM9IJs3CoGiIlyc9UD9O4LEyeu5Rw0RdiAp9MvyUPcDUeibw3WlMCFJ53mbioAapMy5tPXmxxJH5KcN2uJKESsH/1hJv0tWfVpHQywVLcf/7HWPjDl3qEFqzwGEN+5V3XqyG+hoA4rLTLDL40G68bL/oC7ere3sz3B16U4NGdgtJZapot5gTFErFZZztql76h25Ch7isE1XAaYg6NY4z1oU8Q9Ud0sY74tDI8TF165LStb3prf1TinwaMbOyuQ1wrNU4aMzekiwazeo6LtHMnfPjweIGP01PwjZ8WkYcRF6tt chassis_digitalocean provider test key
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-chassis-digitalocean
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-05-
|
12
|
+
date: 2014-05-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faraday
|
@@ -72,7 +72,7 @@ files:
|
|
72
72
|
- LICENSE.txt
|
73
73
|
- README.md
|
74
74
|
- Rakefile
|
75
|
-
- box/
|
75
|
+
- box/chassis_digitalocean.box
|
76
76
|
- box/metadata.json
|
77
77
|
- lib/vagrant-chassis-digitalocean.rb
|
78
78
|
- lib/vagrant-chassis-digitalocean/actions.rb
|
@@ -104,14 +104,6 @@ files:
|
|
104
104
|
- test/test_id_rsa
|
105
105
|
- test/test_id_rsa.pub
|
106
106
|
- vagrant-chassis-digitalocean.gemspec
|
107
|
-
- vagrant-chassis-digitalocean/.gitignore
|
108
|
-
- vagrant-chassis-digitalocean/Gemfile
|
109
|
-
- vagrant-chassis-digitalocean/LICENSE.txt
|
110
|
-
- vagrant-chassis-digitalocean/README.md
|
111
|
-
- vagrant-chassis-digitalocean/Rakefile
|
112
|
-
- vagrant-chassis-digitalocean/lib/vagrant/chassis/digitalocean.rb
|
113
|
-
- vagrant-chassis-digitalocean/lib/vagrant/chassis/digitalocean/version.rb
|
114
|
-
- vagrant-chassis-digitalocean/vagrant-chassis-digitalocean.gemspec
|
115
107
|
homepage:
|
116
108
|
licenses: []
|
117
109
|
post_install_message:
|
@@ -1,22 +0,0 @@
|
|
1
|
-
Copyright (c) 2014 Bronson Quick
|
2
|
-
|
3
|
-
MIT License
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
-
a copy of this software and associated documentation files (the
|
7
|
-
"Software"), to deal in the Software without restriction, including
|
8
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
-
permit persons to whom the Software is furnished to do so, subject to
|
11
|
-
the following conditions:
|
12
|
-
|
13
|
-
The above copyright notice and this permission notice shall be
|
14
|
-
included in all copies or substantial portions of the Software.
|
15
|
-
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -1,29 +0,0 @@
|
|
1
|
-
# Vagrant::Chassis::Digitalocean
|
2
|
-
|
3
|
-
TODO: Write a gem description
|
4
|
-
|
5
|
-
## Installation
|
6
|
-
|
7
|
-
Add this line to your application's Gemfile:
|
8
|
-
|
9
|
-
gem 'vagrant-chassis-digitalocean'
|
10
|
-
|
11
|
-
And then execute:
|
12
|
-
|
13
|
-
$ bundle
|
14
|
-
|
15
|
-
Or install it yourself as:
|
16
|
-
|
17
|
-
$ gem install vagrant-chassis-digitalocean
|
18
|
-
|
19
|
-
## Usage
|
20
|
-
|
21
|
-
TODO: Write usage instructions here
|
22
|
-
|
23
|
-
## Contributing
|
24
|
-
|
25
|
-
1. Fork it ( http://github.com/<my-github-username>/vagrant-chassis-digitalocean/fork )
|
26
|
-
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
-
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
|
-
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
-
5. Create new Pull Request
|
@@ -1 +0,0 @@
|
|
1
|
-
require "bundler/gem_tasks"
|
@@ -1,23 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'vagrant/chassis/digitalocean/version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = "vagrant-chassis-digitalocean"
|
8
|
-
spec.version = Vagrant::Chassis::Digitalocean::VERSION
|
9
|
-
spec.authors = ["Bronson Quick"]
|
10
|
-
spec.email = ["bronson@sennza.com.au"]
|
11
|
-
spec.summary = %q{TODO: Write a short summary. Required.}
|
12
|
-
spec.description = %q{TODO: Write a longer description. Optional.}
|
13
|
-
spec.homepage = ""
|
14
|
-
spec.license = "MIT"
|
15
|
-
|
16
|
-
spec.files = `git ls-files`.split($/)
|
17
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
-
spec.require_paths = ["lib"]
|
20
|
-
|
21
|
-
spec.add_development_dependency "bundler", "~> 1.5"
|
22
|
-
spec.add_development_dependency "rake"
|
23
|
-
end
|