tiller 0.7.4 → 0.7.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/tiller +7 -1
  3. data/lib/tiller/options.rb +5 -3
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 81f462b7034a8c815eb6e561948cba295dbf3761
4
- data.tar.gz: 5254ffc7b3ea0e2811fc44be2e54f8ff80e48e65
3
+ metadata.gz: 229d9c3cbd2cff1fe603fe9d20db766e1a6bad96
4
+ data.tar.gz: 0de31645801e2b972cd404c18cf4f41ea1d5bedd
5
5
  SHA512:
6
- metadata.gz: 6ce3e1d4b293f1b74ddabb9e8681b62a17016e27962713a8821393572354cd8aa23bc8b81ec07144e289ccfe20b7960b593658bb624f2dfeb8e929b59c530f90
7
- data.tar.gz: 8c37b29ade6d27a3fe9cad11b36d2e80ecd954f14a2b12adc3897146e727cd62ba6b25e3d38a0e28feef2c83d579656d35d6e180df475cea120a9beaf6d33508
6
+ metadata.gz: 949a96b21b1e35ca1eeecf02bec3b48ba9ec030151212e39d9d1713878bf5971d3c624909b71323fbb50b5a316328980ae8d3c6225ffdb8b9fdc852f7c00d048
7
+ data.tar.gz: 2a00433767683191bb3c1caf52bdb074fa23486183027cffce2955fa026f924e05062e3645344efeedc133b038d5d8434bff477dd0bb9401fd898c84ce86f05a
data/bin/tiller CHANGED
@@ -8,7 +8,7 @@
8
8
  #
9
9
  # Mark Dastmalchi-Round <github@markround.com>
10
10
 
11
- VERSION = '0.7.4'
11
+ VERSION = '0.7.5'
12
12
 
13
13
  require 'erb'
14
14
  require 'ostruct'
@@ -203,7 +203,13 @@ module Tiller
203
203
 
204
204
  Process.wait(child_pid)
205
205
 
206
+ # Capture the child process status, so we can also exit with this code
207
+ exit_status = $?.exitstatus
208
+
209
+ log.info("Child process exited with status #{exit_status}")
206
210
  log.info('Child process finished, Tiller is stopping.')
211
+ exit exit_status
212
+
207
213
  end
208
214
 
209
215
  end
@@ -33,8 +33,10 @@ def parse_options(config)
33
33
  puts 'Tiller also uses the environment variables tiller_base, environment'
34
34
  puts 'and tiller_lib (or they can be provided using the arguments shown above).'
35
35
  puts 'See https://github.com/markround/tiller for documentation and usage.'
36
- puts 'Current configuration hash follows :'
37
- pp config
36
+ if config[:debug] == true
37
+ puts 'Current configuration hash follows :'
38
+ pp config
39
+ end
38
40
  exit
39
41
  end
40
42
  end
@@ -42,4 +44,4 @@ def parse_options(config)
42
44
  optparse.parse!
43
45
 
44
46
  config
45
- end
47
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tiller
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.4
4
+ version: 0.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Dastmalchi-Round
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-24 00:00:00.000000000 Z
11
+ date: 2016-02-08 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A tool to create configuration files from a variety of sources, particularly
14
14
  useful for Docker containers. See https://github.com/markround/tiller for examples