vagrant-rancher 1.1.3 → 1.1.4
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.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/vagrant-rancher/provisioner.rb +1 -1
- data/lib/vagrant-rancher/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72c7f7849d2747886b8c61d4e5ce5fbad2e28c4c
|
4
|
+
data.tar.gz: 638b49b561f5726b62e47aad3bbf75169494a6ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85a3403cffaf1f17b0efbd002e60182843be7ec0dcf5ea95d2d812ee8bfdf0f342d56b57bea50edb22da0dd2c1e4d382395a75bd7858a22ef644c076d45d30d7
|
7
|
+
data.tar.gz: 7f9a3b96dba1e55745eac7763cadb23c6db295ba3c987d25aa5593dd0bc11c379495cb4a2b049826dfabc1bca4f6dc99281ec6fd82599fd7b388ad52a3d9fa23
|
data/README.md
CHANGED
@@ -40,6 +40,7 @@ The `vagrant-rancher` plugin requires the hostname being set to either a DNS nam
|
|
40
40
|
* `port` (*optional*, default: `8080`): port to run the rancher server on in the case of the server, and communicate with in the case of the agent
|
41
41
|
* `rancher_server_image` (*optional*, default: `rancher/server`): Override default Rancher server image name. Allows for pull from a private registry
|
42
42
|
* `server_args` (*optional*, default: `''`): additional args to pass to the Docker run command when starting the Rancher server
|
43
|
+
* `install_agent` (*optional*, default: `true`): install rancher-agent on guest
|
43
44
|
* `labels` (*optional*, default: `[]`): array of key=value pairs of labels to assign to the agent (ex. ["role=server","env=local"])
|
44
45
|
* `deactivate` (*optional*, default: `false`): deactivate the host in Rancher to prevent it from being scheduled on
|
45
46
|
* `project` (*optional*, default: `Default`): the project to start the agent in (project will be created if it doesn't exist)
|
@@ -48,7 +48,7 @@ module VagrantPlugins
|
|
48
48
|
|
49
49
|
@machine.ui.info "Starting server container: #{image}..."
|
50
50
|
|
51
|
-
docker_cmd = "docker run -d
|
51
|
+
docker_cmd = "docker run -d --restart=always --name rancher-server -p #{@config.port}:8080"
|
52
52
|
|
53
53
|
# add any user supplied args to the docker command
|
54
54
|
unless config.server_args.nil?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-rancher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nextrevision
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|