vagrant-simplecloud 0.0.3 → 0.0.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee9a4564941ef8ce9b473405f36bf0662c7642b9
|
4
|
+
data.tar.gz: a16b8b5ea3051cb949c783d552f32a2b83873d99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 653be2c3117f57c4acbc89f35a75a83a76749c89736102819d5a1bfbf816570426682b5ad26f636e129e48ed8ed8a2e51265723c1cf36cae811ac70e6fd0915b
|
7
|
+
data.tar.gz: 695217d7c25b73c41d565544703e6a849649be4b4f35cc9fda6a26862e8337fc6652d49ab9ca616852cbd8f655a2c1b28c8dd0a8d4929da43bd45507b717020c
|
data/README.md
CHANGED
@@ -43,7 +43,7 @@ end
|
|
43
43
|
|
44
44
|
**Configuration Requirements**
|
45
45
|
- You *must* specify the `override.ssh.private_key_path` to enable authentication with the droplet. The provider will create a new Simple Cloud SSH key using your public key which is assumed to be the `private_key_path` with a *.pub* extension.
|
46
|
-
- You *must* specify your Simple Cloud Personal Access Token at `provider.token`. This may be found on the control panel within the
|
46
|
+
- You *must* specify your Simple Cloud Personal Access Token at `provider.token`. This may be found on the control panel within the https://panel.simplecloud.ru/settings/ section.
|
47
47
|
|
48
48
|
**Supported Configuration Attributes**
|
49
49
|
|
@@ -104,7 +104,7 @@ Troubleshooting
|
|
104
104
|
FAQ
|
105
105
|
---
|
106
106
|
|
107
|
-
* The Chef provisioner is no longer supported by default
|
107
|
+
* The Chef provisioner is no longer supported by default. Please use the `vagrant-omnibus` plugin to install Chef on Vagrant-managed machines. This plugin provides control over the specific version of Chef to install.
|
108
108
|
|
109
109
|
|
110
110
|
Contribute
|
@@ -138,8 +138,7 @@ To release a new version of vagrant-simplecloud you will need to do the followin
|
|
138
138
|
3. You will then need to build and push the new gem to RubyGems:
|
139
139
|
* `rake gem:build`
|
140
140
|
* `gem push pkg/vagrant-simplecloud-0.7.6.gem`
|
141
|
-
4. Then, when
|
141
|
+
4. Then, when repo owner the following, they will receive the updated vagrant-simplecloud plugin:
|
142
142
|
* `vagrant plugin update`
|
143
|
-
* `vagrant plugin update vagrant-simplecloud`
|
144
143
|
* `export DO_TOKEN="digital ocean type token"`
|
145
144
|
* `vagrant up --provider=simple_cloud`
|
@@ -16,10 +16,7 @@ module VagrantPlugins
|
|
16
16
|
|
17
17
|
def call(env)
|
18
18
|
# submit power on droplet request
|
19
|
-
result =
|
20
|
-
#result = @client.post("/v2/droplets/#{@machine.id}/actions", {
|
21
|
-
#:type => 'power_on'
|
22
|
-
#})
|
19
|
+
result = @simple_client.post("/v2/droplets/#{@machine.id}/actions", {:type => 'power_on'})
|
23
20
|
|
24
21
|
# wait for request to complete
|
25
22
|
env[:ui].info I18n.t('vagrant_simple_cloud.info.powering_on')
|
@@ -16,9 +16,7 @@ module VagrantPlugins
|
|
16
16
|
|
17
17
|
def call(env)
|
18
18
|
# submit reboot droplet request
|
19
|
-
result = @simple_client.post("/v2/droplets/#{@machine.id}/actions", {
|
20
|
-
:type => 'reboot'
|
21
|
-
})
|
19
|
+
result = @simple_client.post("/v2/droplets/#{@machine.id}/actions", {:type => 'reboot'})
|
22
20
|
|
23
21
|
# wait for request to complete
|
24
22
|
env[:ui].info I18n.t('vagrant_simple_cloud.info.reloading')
|
data/vagrant-simplecloud.gemspec
CHANGED
@@ -6,9 +6,9 @@ require 'vagrant-simplecloud/version'
|
|
6
6
|
Gem::Specification.new do |gem|
|
7
7
|
gem.name = "vagrant-simplecloud"
|
8
8
|
gem.version = VagrantPlugins::SimpleCloud::VERSION
|
9
|
-
gem.authors = ["John Bender"]
|
10
|
-
gem.email = ["
|
11
|
-
gem.description = %q{Enables Vagrant to manage Simple Cloud droplets}
|
9
|
+
gem.authors = ["John Bender", "vadikgo"]
|
10
|
+
gem.email = ["vadikgo@gmail.com"]
|
11
|
+
gem.description = %q{Enables Vagrant to manage Simple Cloud droplets. Based on https://github.com/smdahlen/vagrant-digitalocean}
|
12
12
|
gem.summary = gem.description
|
13
13
|
|
14
14
|
gem.files = `git ls-files`.split($/)
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-simplecloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Bender
|
8
|
+
- vadikgo
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
12
|
+
date: 2015-08-12 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: faraday
|
@@ -66,9 +67,9 @@ dependencies:
|
|
66
67
|
- - ">="
|
67
68
|
- !ruby/object:Gem::Version
|
68
69
|
version: '0'
|
69
|
-
description: Enables Vagrant to manage Simple Cloud droplets
|
70
|
+
description: Enables Vagrant to manage Simple Cloud droplets. Based on https://github.com/smdahlen/vagrant-digitalocean
|
70
71
|
email:
|
71
|
-
-
|
72
|
+
- vadikgo@gmail.com
|
72
73
|
executables: []
|
73
74
|
extensions: []
|
74
75
|
extra_rdoc_files: []
|
@@ -106,7 +107,6 @@ files:
|
|
106
107
|
- lib/vagrant-simplecloud/provider.rb
|
107
108
|
- lib/vagrant-simplecloud/version.rb
|
108
109
|
- locales/en.yml
|
109
|
-
- pkg/vagrant-simplecloud-0.0.1.gem
|
110
110
|
- test/Vagrantfile
|
111
111
|
- test/cookbooks/test/recipes/default.rb
|
112
112
|
- test/scripts/provision.sh
|
@@ -134,10 +134,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
134
|
version: '0'
|
135
135
|
requirements: []
|
136
136
|
rubyforge_project:
|
137
|
-
rubygems_version: 2.4.
|
137
|
+
rubygems_version: 2.4.3
|
138
138
|
signing_key:
|
139
139
|
specification_version: 4
|
140
|
-
summary: Enables Vagrant to manage Simple Cloud droplets
|
140
|
+
summary: Enables Vagrant to manage Simple Cloud droplets. Based on https://github.com/smdahlen/vagrant-digitalocean
|
141
141
|
test_files:
|
142
142
|
- test/Vagrantfile
|
143
143
|
- test/cookbooks/test/recipes/default.rb
|