teamd-installer 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docker/Dockerfile +2 -2
- data/lib/teamd/installer/cli.rb +3 -1
- data/lib/teamd/installer/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9765b3e9d9e1d94257c474318fa1e35bad47ac15
|
4
|
+
data.tar.gz: 3311ff4e9bcd5df5c0ede512f1dd0902c7f2ad21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51bc2075284c8dec08459f96c01bdf80a28a6484a26f047c7e92a3cfd2ec08cae7732ee5ffad1a4bf27a05e4eb9e0df97fddcac19dfac15e9a3a73606647f8d4
|
7
|
+
data.tar.gz: f479c015c7db643c0fbeb8d594c2b69f497023049200d94c483347d8fb097b72dcd01d61dc2ef51ada9a8bc5b8453a95c89b3d1e1e57abd91c01b81ae1d02ff1
|
data/docker/Dockerfile
CHANGED
@@ -3,7 +3,7 @@ MAINTAINER Mathias Kaufmann <me@stei.gr>
|
|
3
3
|
|
4
4
|
RUN apk update && \
|
5
5
|
apk add ruby ruby-dev ca-certificates bash wget gnupg util-linux coreutils bzip2 && \
|
6
|
-
gem update --system --no-ri --no-rdoc
|
7
|
-
|
6
|
+
gem update --system --no-ri --no-rdoc
|
7
|
+
RUN gem install --no-ri --no-rdoc --version 0.0.13 teamd-installer
|
8
8
|
|
9
9
|
ENTRYPOINT ["/usr/bin/teamd-installer"]
|
data/lib/teamd/installer/cli.rb
CHANGED
@@ -42,8 +42,8 @@ module Teamd
|
|
42
42
|
method_option :etcd_initialize_cluster, type: :boolean, default: :false
|
43
43
|
method_option :etcd_cluster_size, type: :numeric, default: 3
|
44
44
|
method_option :installer_url, type: :string, default: "https://raw.githubusercontent.com/coreos/init/master/bin/coreos-install"
|
45
|
-
method_option :cloud_config, type: :string, default: "/tmp/user_data"
|
46
45
|
method_option :installer_script, type: :string, default: "/tmp/installer"
|
46
|
+
method_option :cloud_config, type: :string, default: "/tmp/user_data"
|
47
47
|
method_option :reboot, type: :boolean, default: :true
|
48
48
|
method_option :command_file, type: :string, default: "/tmp/install_command"
|
49
49
|
def install
|
@@ -61,6 +61,8 @@ module Teamd
|
|
61
61
|
method_option :etcd_cluster_size, type: :numeric, default: 3
|
62
62
|
method_option :cloud_config, type: :string, default: "/tmp/user_data"
|
63
63
|
method_option :command_file, type: :string, default: "/tmp/install_command"
|
64
|
+
method_option :installer_url, type: :string, default: "https://raw.githubusercontent.com/coreos/init/master/bin/coreos-install"
|
65
|
+
method_option :installer_script, type: :string, default: "/tmp/installer"
|
64
66
|
def prepare
|
65
67
|
Cli.build_cloud_config options
|
66
68
|
Cli.build_install_command options
|