chef-bin 16.18.0 → 17.0.242

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
  SHA256:
3
- metadata.gz: 301e3fa64c3b3d69ad1eddd4751600ac66887de97180fbd487f3fd8321b2adfc
4
- data.tar.gz: 5e35ff99beea67ad4a9e1a44ae32db14e51478477d94b4b301fe9a2cc2ebfc3c
3
+ metadata.gz: 9899b92cbd5abadd5ff68eea538cb2aaed7bb4fba09192c21296b1dee847ec0d
4
+ data.tar.gz: e58e13dcb8b4902fa01106f20aca7c4220f1cf871c6c2ef67bc3ff5e44cdffd9
5
5
  SHA512:
6
- metadata.gz: fe3e90b6f90815b2582db8890db86df854c9fcbc82a72d0bcba85fcbafb0049400bc1732198e2a11e4c7595b741272b23338bfef8a7150f69ee0510bbc149ae2
7
- data.tar.gz: 3b3947e12395d14807b3b207110e1e19c016ea53f1e1d60043964d5bf1232ec1f07d11310ca9ea6550a366493efa38039e6767ef3e2616c94853b380e085e161
6
+ metadata.gz: 5d8594f691631f1fb1223e7a2dd7085da313e64fa36693b347d6401b1c972629a346046bf214578f142146e08b63a0e27108c6fab3e13f449aa0172d2af87900
7
+ data.tar.gz: 31a873e6ba48fe6e1b41bdb27c2dfe93c83a947de442eff7b1df1ccebbeb845ee225adc9c0c542508b8475241ceed342f82e66d705d4f7870caad3be7c0b3b0d
@@ -1,38 +1,3 @@
1
1
  #!/usr/bin/env ruby
2
2
  #
3
- # ./chef-service-manager - Control chef-service on Windows platforms.
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."
@@ -1,34 +1,3 @@
1
1
  #!/usr/bin/env ruby
2
2
  #
3
- # Author:: Jay Mundrawala (<jdm@chef.io>)
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."
@@ -21,7 +21,7 @@
21
21
 
22
22
  module ChefBin
23
23
  CHEFBIN_ROOT = File.expand_path("..", __dir__)
24
- VERSION = "16.18.0".freeze
24
+ VERSION = "17.0.242".freeze
25
25
  end
26
26
 
27
27
  #
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: 16.18.0
4
+ version: 17.0.242
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Jacob
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-28 00:00:00.000000000 Z
11
+ date: 2021-04-27 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: 16.18.0
19
+ version: 17.0.242
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: 16.18.0
26
+ version: 17.0.242
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.1.6
87
+ rubygems_version: 3.2.15
88
88
  signing_key:
89
89
  specification_version: 4
90
90
  summary: Chef-branded binstubs for chef-client