kontena-plugin-digitalocean 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/kontena/machine/digital_ocean/cloudinit.yml +1 -0
- data/lib/kontena/machine/digital_ocean/cloudinit_master.yml +3 -0
- data/lib/kontena/plugin/digital_ocean.rb +1 -1
- data/lib/kontena/plugin/digital_ocean/master/create_command.rb +1 -1
- data/lib/kontena/plugin/digital_ocean/nodes/create_command.rb +1 -1
- data/lib/kontena/plugin/digital_ocean/nodes/restart_command.rb +1 -1
- data/lib/kontena/plugin/digital_ocean/nodes/terminate_command.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ODNkN2QwMTliNjdiNWY5OWVlMzJlNzg4ZTM5YzQ5MjRjMzYyZjMxOQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NTcxOGMxNDdhOTNjMTAxZmQ3NzM1NmVjODYxMTBkYjMzNmYwMDVkNw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YTdmM2E1ZDMwZGNlZWNlMWViMzg5NjVjYTNhMTNlNmYzNDllNzQ5NjcxMTA5
|
10
|
+
MzU1MDdhYTM4NTQ2YTExMDYzNjA1NmNiOWUwOGY1YzE1OTZiNWU3YjVmZjBm
|
11
|
+
MGRjMDkyYzA1N2E3ZGJhZTE3ZTJhNjJmNzJmNTMzN2JhMTdmOTQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MjJjYjY0OTVjMmNhZTUxZWUwMmMxODk5NzMzMGQ5OGMwZThjZDM2ZmQ0ZTM5
|
14
|
+
YjgwMGE1NGRiODQ1NTdiMzk1MDcwOTRmMWJjY2Q1ODkzYjkxMWY3NjQ5YTMz
|
15
|
+
NmE2YjRmNjM2OTA5MGNhYjE3MDg0YWY3YjFiNmFmNmIzZDJhMTM=
|
@@ -54,6 +54,7 @@ coreos:
|
|
54
54
|
ExecStart=/usr/bin/docker run --name=kontena-server-mongo \
|
55
55
|
--volumes-from=kontena-server-mongo-data \
|
56
56
|
mongo:3.0 mongod --smallfiles
|
57
|
+
ExecStop=/usr/bin/docker stop kontena-server-mongo
|
57
58
|
<% end -%>
|
58
59
|
- name: kontena-server-api.service
|
59
60
|
command: start
|
@@ -94,6 +95,7 @@ coreos:
|
|
94
95
|
<% end -%>
|
95
96
|
-e VAULT_KEY=${KONTENA_VAULT_KEY} -e VAULT_IV=${KONTENA_VAULT_IV} \
|
96
97
|
kontena/server:${KONTENA_VERSION}
|
98
|
+
ExecStop=/usr/bin/docker stop kontena-server-api
|
97
99
|
|
98
100
|
- name: kontena-server-haproxy.service
|
99
101
|
command: start
|
@@ -118,3 +120,4 @@ coreos:
|
|
118
120
|
ExecStartPre=-/usr/bin/docker rm kontena-server-haproxy
|
119
121
|
ExecStartPre=-/usr/bin/docker pull kontena/haproxy:latest
|
120
122
|
ExecStart=/opt/bin/kontena-haproxy.sh
|
123
|
+
ExecStop=/usr/bin/docker stop kontena-server-haproxy
|
@@ -14,7 +14,7 @@ module Kontena::Plugin::DigitalOcean::Nodes
|
|
14
14
|
require_api_url
|
15
15
|
require_current_grid
|
16
16
|
|
17
|
-
|
17
|
+
require_relative '../../../machine/digital_ocean'
|
18
18
|
grid = fetch_grid
|
19
19
|
provisioner = provisioner(client(require_token), token)
|
20
20
|
provisioner.run!(
|
@@ -10,7 +10,7 @@ module Kontena::Plugin::DigitalOcean::Nodes
|
|
10
10
|
require_api_url
|
11
11
|
require_current_grid
|
12
12
|
|
13
|
-
|
13
|
+
require_relative '../../../machine/digital_ocean'
|
14
14
|
|
15
15
|
client = DropletKit::Client.new(access_token: token)
|
16
16
|
droplet = client.droplets.all.find{|d| d.name == name}
|
@@ -10,7 +10,7 @@ module Kontena::Plugin::DigitalOcean::Nodes
|
|
10
10
|
require_api_url
|
11
11
|
require_current_grid
|
12
12
|
|
13
|
-
|
13
|
+
require_relative '../../../machine/digital_ocean'
|
14
14
|
grid = client(require_token).get("grids/#{current_grid}")
|
15
15
|
destroyer = destroyer(client(require_token), token)
|
16
16
|
destroyer.run!(grid, name)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kontena-plugin-digitalocean
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kontena, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: kontena-cli
|