consul-templaterb 1.5.8 → 1.5.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/Gemfile +1 -1
- data/README.md +6 -1
- data/bin/consul-templaterb +1 -1
- data/lib/consul/async/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8adb29eaa4b01d73d82d80cf9183f6761e06db0a3204a1a6959a41597b5475f
|
4
|
+
data.tar.gz: 6ac7f61796835fb9663e9f6de39f8047a192e8e8f20b07b438a0865bd82ce8a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05f0d978f9b90a5c855c6e7aee93719fef0104c530a0faa80a03232ab20e6c2945ecb9c769ab75e3f9f14f629489cfc10fa42e4fc7704b967e964fa32882bad4
|
7
|
+
data.tar.gz: 35f472ccf9e47b07a0d1da65ab7259ab5ae49ea917418c0f9d2edae98cada88737fa294ca4bf38044a0e6d971ab4e6bf237e2c24d13da2cc2799f3927fc9465c
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,16 @@
|
|
2
2
|
|
3
3
|
## (UNRELEASED)
|
4
4
|
|
5
|
+
## 1.5.9 (November 17, 2018)
|
6
|
+
|
7
|
+
BUG FIXES:
|
8
|
+
|
9
|
+
* Upgraded potentially vulnerable bootstrap library
|
10
|
+
|
11
|
+
IMPROVEMENTS:
|
12
|
+
|
13
|
+
* Clearer help (indentation issue), added `-o` option as synonym for `--once`
|
14
|
+
|
5
15
|
## 1.5.8 (November 14, 2018)
|
6
16
|
|
7
17
|
IMPROVEMENTS:
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -140,6 +140,11 @@ USAGE: consul-templaterb [[options]]
|
|
140
140
|
-v, --version Show Version
|
141
141
|
-c, --consul-addr=<address> Address of Consul, eg: http://localhost:8500
|
142
142
|
--consul-token=<token> Use a token to connect to Consul
|
143
|
+
-V, --vault-addr=<address> Address of Vault, eg: http://localhost:8200
|
144
|
+
--vault-token=<token> Token used to authenticate against vault.
|
145
|
+
--[no-]vault-renew Control auto-renewal of the Vault token. Default: activated
|
146
|
+
--vault-lease-duration-factor=<factor>
|
147
|
+
Wait at least <factor> * lease time before updating a Vault secret. Default: 0.5
|
143
148
|
-w, --wait=<min_duration> Wait at least n seconds before each template generation
|
144
149
|
-r, --retry-delay=<min_duration> Min Retry delay on Error/Missing Consul Index
|
145
150
|
-k, --hot-reload=<behavior> Control hot reload behaviour, one of :[die (kill daemon on hot reload failure), keep (on error, keep running), disable (hot reload disabled)]
|
@@ -150,7 +155,7 @@ USAGE: consul-templaterb [[options]]
|
|
150
155
|
-d, --debug-network-usage Debug the network usage
|
151
156
|
-t erb_file:[output]:[command]:[params_file],
|
152
157
|
--template Add a erb template, its output and optional reload command
|
153
|
-
|
158
|
+
-o, --once Do not run the process as a daemon
|
154
159
|
```
|
155
160
|
|
156
161
|
When launched with file arguments ending with .erb, the executable will assume
|
data/bin/consul-templaterb
CHANGED
@@ -223,7 +223,7 @@ optparse = OptionParser.new do |opts|
|
|
223
223
|
end
|
224
224
|
end
|
225
225
|
|
226
|
-
opts.on(
|
226
|
+
opts.on('-o', '--once', 'Do not run the process as a daemon') do
|
227
227
|
consul_engine.add_template_callback do |all_ready, template_manager, _|
|
228
228
|
if all_ready
|
229
229
|
STDERR.puts '[INFO] Program ends since daemon mode has been disabled, file(s) has been written'
|
data/lib/consul/async/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: consul-templaterb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SRE Core Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: em-http-request
|