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 +4 -4
- data/lib/chef/application/client.rb +6 -3
- data/lib/chef/version.rb +1 -1
- data/spec/unit/application/client_spec.rb +2 -0
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1715fff9e95389b926a226b9c8f26b908f0fafb
|
4
|
+
data.tar.gz: 2e579c47c42d4c7bfe53ef675823038383f4d349
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
299
|
-
|
300
|
-
|
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
|
|
data/lib/chef/version.rb
CHANGED
@@ -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
|
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-
|
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
|
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
|
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
|
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
|
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:
|
2016
|
+
version: '0'
|
2017
2017
|
requirements: []
|
2018
2018
|
rubyforge_project:
|
2019
2019
|
rubygems_version: 2.2.2
|