chef-bin 16.11.7 → 17.2.29
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/bin/chef-service-manager +1 -36
- data/bin/chef-windows-service +1 -32
- data/lib/chef-bin/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d6f8fdbaa1d671bae5f741413141d570846641f51443338e504a41f8423ef60
|
4
|
+
data.tar.gz: 2a409d661b6694b64de3488100d0a81a4ad66c749b9dee500382c94cfe310874
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56cb002125cbd43f6ac071b984182efc023184327389e16f4edff7bce6f723d9a6543025ea3a49851e3cbab3ec2eeecd88d80507ee5a82b8b1497037c3a60acd
|
7
|
+
data.tar.gz: ab1ce06e4a799810ec0f40779a3e02220fc5eb810b8598508285d50c0e63c50aeddab9cb8d9633e3d573dc69e4f65b48c9ee27923c05f31b4e7f30e0d38dd731
|
data/bin/chef-service-manager
CHANGED
@@ -1,38 +1,3 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
#
|
3
|
-
|
4
|
-
#
|
5
|
-
# Author:: Serdar Sutay (serdar@chef.io)
|
6
|
-
# Copyright:: Copyright 2013-2018, Chef Software Inc.
|
7
|
-
# License:: Apache License, Version 2.0
|
8
|
-
#
|
9
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
10
|
-
# you may not use this file except in compliance with the License.
|
11
|
-
# You may obtain a copy of the License at
|
12
|
-
#
|
13
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
14
|
-
#
|
15
|
-
# Unless required by applicable law or agreed to in writing, software
|
16
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
17
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
18
|
-
# See the License for the specific language governing permissions and
|
19
|
-
# limitations under the License.
|
20
|
-
|
21
|
-
$:.unshift(File.join(__dir__, "..", "lib"))
|
22
|
-
require "chef"
|
23
|
-
require "chef/application/windows_service_manager"
|
24
|
-
require "chef-utils/dist" unless defined?(ChefUtils::Dist)
|
25
|
-
|
26
|
-
if Chef::Platform.windows?
|
27
|
-
chef_client_service = {
|
28
|
-
service_name: ChefUtils::Dist::Infra::CLIENT,
|
29
|
-
service_display_name: "#{ChefUtils::Dist::Infra::PRODUCT} Service",
|
30
|
-
service_description: "Runs #{ChefUtils::Dist::Infra::PRODUCT} on regular, configurable intervals.",
|
31
|
-
service_file_path: File.expand_path("../chef-windows-service", $PROGRAM_NAME),
|
32
|
-
delayed_start: true,
|
33
|
-
dependencies: ["Winmgmt"],
|
34
|
-
}
|
35
|
-
Chef::Application::WindowsServiceManager.new(chef_client_service).run
|
36
|
-
else
|
37
|
-
puts "chef-service-manager is only available on Windows platforms."
|
38
|
-
end
|
3
|
+
puts "As of Chef Infra Client 17 the chef-service-manager is no longer available. Please run Chef Infra Client as a scheduled task instead for more reliable operation with lower memory and CPU overhead."
|
data/bin/chef-windows-service
CHANGED
@@ -1,34 +1,3 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
#
|
3
|
-
|
4
|
-
#
|
5
|
-
# Copyright:: 2014-2018, Chef Software, Inc.
|
6
|
-
#
|
7
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
# you may not use this file except in compliance with the License.
|
9
|
-
# You may obtain a copy of the License at
|
10
|
-
#
|
11
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
#
|
13
|
-
# Unless required by applicable law or agreed to in writing, software
|
14
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
# See the License for the specific language governing permissions and
|
17
|
-
# limitations under the License.
|
18
|
-
#
|
19
|
-
|
20
|
-
# Note:
|
21
|
-
# The file is used by appbundler to generate a ruby file that
|
22
|
-
# we can execute using the correct gems. The batch file we
|
23
|
-
# generate will call that file, and will be registered as
|
24
|
-
# a windows service.
|
25
|
-
|
26
|
-
$:.unshift(File.join(__dir__, "..", "lib"))
|
27
|
-
require "chef"
|
28
|
-
require "chef/application/windows_service"
|
29
|
-
|
30
|
-
if Chef::Platform.windows?
|
31
|
-
Chef::Application::WindowsService.mainloop
|
32
|
-
else
|
33
|
-
puts "chef-windows-service is only available on Windows platforms."
|
34
|
-
end
|
3
|
+
puts "As of Chef Infra Client 17 the chef-windows-service is no longer available. Please run Chef Infra Client as a scheduled task instead for more reliable operation with lower memory and CPU overhead."
|
data/lib/chef-bin/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-bin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 17.2.29
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Jacob
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 17.2.29
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 17.2.29
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
84
|
- !ruby/object:Gem::Version
|
85
85
|
version: '0'
|
86
86
|
requirements: []
|
87
|
-
rubygems_version: 3.
|
87
|
+
rubygems_version: 3.2.15
|
88
88
|
signing_key:
|
89
89
|
specification_version: 4
|
90
90
|
summary: Chef-branded binstubs for chef-client
|