chef 11.12.0.rc.1-x86-mingw32 → 11.12.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e6ab4305e3c6eda1adf0f1037ec6e3f42134f84f
4
- data.tar.gz: 5883a4c9a6609ca1a8610c05fbf7ba7c194d5a68
3
+ metadata.gz: e1715fff9e95389b926a226b9c8f26b908f0fafb
4
+ data.tar.gz: 2e579c47c42d4c7bfe53ef675823038383f4d349
5
5
  SHA512:
6
- metadata.gz: 123bc4182a081d13d7880dca9148e1f5d8918dae098011bf4335046dd3cc84c53b31414a0e727057c3bdb973507f28c448b6c2efef4f09b8b2786fe79f40a864
7
- data.tar.gz: 351c84c6f8b8884df5b5425e0f0904a1e2133619b5e7f7ccbe2b7b10e311dcae0d5d9e3a1d1b1cca324dd8cea6df576bf435ed64e8532050d6ff31c874ee1fd3
6
+ metadata.gz: 928b5de97c2254799f0abf4ac170f4ebe233b36d756d7ad8c7f5281e9911524113aa0329810e3373cc887ba64310d548e7c488f027692c7b00e789fd0c94db43
7
+ data.tar.gz: 6fe410164d43b2acaa99e0079286a89609768bdcd9433f6ddc8b8b00ca323c534f24b8d607f51643a7300a360ee0406df1950a461765f025a11383207e80e762
@@ -295,9 +295,12 @@ class Chef::Application::Client < Chef::Application
295
295
  SELF_PIPE[1].putc(IMMEDIATE_RUN_SIGNAL) # wakeup master process from select
296
296
  end
297
297
 
298
- trap("TERM") do
299
- Chef::Log.info("SIGTERM received, exiting gracefully")
300
- SELF_PIPE[1].putc(GRACEFUL_EXIT_SIGNAL)
298
+ # see CHEF-5172
299
+ if Chef::Config[:daemonize] || Chef::Config[:interval]
300
+ trap("TERM") do
301
+ Chef::Log.info("SIGTERM received, exiting gracefully")
302
+ SELF_PIPE[1].putc(GRACEFUL_EXIT_SIGNAL)
303
+ end
301
304
  end
302
305
  end
303
306
 
@@ -17,7 +17,7 @@
17
17
 
18
18
  class Chef
19
19
  CHEF_ROOT = File.dirname(File.expand_path(File.dirname(__FILE__)))
20
- VERSION = '11.12.0.rc.1'
20
+ VERSION = '11.12.0'
21
21
  end
22
22
 
23
23
  # NOTE: the Chef::Version class is defined in version_class.rb
@@ -128,8 +128,10 @@ end
128
128
 
129
129
  describe Chef::Application::Client, "run_application", :unix_only do
130
130
  before(:each) do
131
+ Chef::Config[:daemonize] = true
131
132
  @pipe = IO.pipe
132
133
  @app = Chef::Application::Client.new
134
+ Chef::Daemon.stub(:daemonize).and_return(true)
133
135
  @app.stub(:run_chef_client) do
134
136
  @pipe[1].puts 'started'
135
137
  sleep 1
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.12.0.rc.1
4
+ version: 11.12.0
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - Adam Jacob
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-31 00:00:00.000000000 Z
11
+ date: 2014-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-config
@@ -70,30 +70,30 @@ dependencies:
70
70
  name: mixlib-shellout
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '='
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 1.4.0.rc.1
75
+ version: '1.4'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '='
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 1.4.0.rc.1
82
+ version: '1.4'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: ohai
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '='
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 7.0.0.rc.2
89
+ version: '7.0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '='
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 7.0.0.rc.2
96
+ version: '7.0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rest-client
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -2011,9 +2011,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
2011
2011
  version: '0'
2012
2012
  required_rubygems_version: !ruby/object:Gem::Requirement
2013
2013
  requirements:
2014
- - - ">"
2014
+ - - ">="
2015
2015
  - !ruby/object:Gem::Version
2016
- version: 1.3.1
2016
+ version: '0'
2017
2017
  requirements: []
2018
2018
  rubyforge_project:
2019
2019
  rubygems_version: 2.2.2