chef-bin 16.4.38 → 16.7.61
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +4 -0
- data/Rakefile +1 -1
- data/bin/chef-apply +1 -1
- data/bin/chef-client +1 -1
- data/bin/chef-resource-inspector +2 -2
- data/bin/chef-service-manager +5 -5
- data/bin/chef-shell +1 -1
- data/bin/chef-solo +1 -1
- data/bin/chef-windows-service +1 -1
- 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: 3245e668266da508d734013c851aec34209bbfa90fdee2262bf67fc10b35e022
|
4
|
+
data.tar.gz: '09b2ea662befe70d18b5cde0835824592f58358a2652ea2d1cb95fe05dd3ad3d'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9bbc12360417509bdcd47d5aa73ad53909401cbb10bbfd268dfa45d096d89049ea8925f3abe4a8579eaeb030e33f60f1a4f24ab906e92af51dae16d6858571e
|
7
|
+
data.tar.gz: 52d91f853014d5310bc1ddfa6cb2d5e89070ff207e4190b1f9227c6add369b052fb2c92b43ad5ee86d69a1205ec963fce81712fa78a4979875d82d6ae6a2a60c
|
data/Gemfile
CHANGED
data/Rakefile
CHANGED
@@ -10,7 +10,7 @@ Bundler::GemHelper.install_tasks
|
|
10
10
|
desc "force install the chef-bin gem"
|
11
11
|
task "install:force" do
|
12
12
|
sh "gem build -V chef-bin.gemspec"
|
13
|
-
built_gem_path = Dir["chef-bin-*.gem"].
|
13
|
+
built_gem_path = Dir["chef-bin-*.gem"].max_by { |f| File.mtime(f) }
|
14
14
|
FileUtils.mkdir_p("pkg") unless Dir.exist?("pkg")
|
15
15
|
FileUtils.mv(built_gem_path, "pkg")
|
16
16
|
sh "gem install -f pkg/#{built_gem_path}"
|
data/bin/chef-apply
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
# See the License for the specific language governing permissions and
|
19
19
|
# limitations under the License.
|
20
20
|
|
21
|
-
$:.unshift(File.join(
|
21
|
+
$:.unshift(File.join(__dir__, "..", "lib"))
|
22
22
|
require "chef/application/apply"
|
23
23
|
|
24
24
|
Chef::Application::Apply.new.run(enforce_license: true)
|
data/bin/chef-client
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
# See the License for the specific language governing permissions and
|
19
19
|
# limitations under the License.
|
20
20
|
|
21
|
-
$:.unshift(File.join(
|
21
|
+
$:.unshift(File.join(__dir__, "..", "lib"))
|
22
22
|
require "chef"
|
23
23
|
require "chef/application/client"
|
24
24
|
|
data/bin/chef-resource-inspector
CHANGED
@@ -19,8 +19,8 @@
|
|
19
19
|
|
20
20
|
Encoding.default_external = Encoding::UTF_8
|
21
21
|
|
22
|
-
$:.unshift(File.expand_path(File.join(
|
22
|
+
$:.unshift(File.expand_path(File.join(__dir__, "..", "lib")))
|
23
23
|
|
24
24
|
require "chef/resource_inspector"
|
25
25
|
|
26
|
-
ResourceInspector.start
|
26
|
+
Chef::ResourceInspector.start
|
data/bin/chef-service-manager
CHANGED
@@ -18,16 +18,16 @@
|
|
18
18
|
# See the License for the specific language governing permissions and
|
19
19
|
# limitations under the License.
|
20
20
|
|
21
|
-
$:.unshift(File.join(
|
21
|
+
$:.unshift(File.join(__dir__, "..", "lib"))
|
22
22
|
require "chef"
|
23
23
|
require "chef/application/windows_service_manager"
|
24
|
-
require "chef/dist"
|
24
|
+
require "chef-utils/dist" unless defined?(ChefUtils::Dist)
|
25
25
|
|
26
26
|
if Chef::Platform.windows?
|
27
27
|
chef_client_service = {
|
28
|
-
service_name:
|
29
|
-
service_display_name: "#{
|
30
|
-
service_description: "Runs #{
|
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
31
|
service_file_path: File.expand_path("../chef-windows-service", $PROGRAM_NAME),
|
32
32
|
delayed_start: true,
|
33
33
|
dependencies: ["Winmgmt"],
|
data/bin/chef-shell
CHANGED
data/bin/chef-solo
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
# See the License for the specific language governing permissions and
|
19
19
|
# limitations under the License.
|
20
20
|
|
21
|
-
$:.unshift(File.join(
|
21
|
+
$:.unshift(File.join(__dir__, "..", "lib"))
|
22
22
|
require "chef/application/solo"
|
23
23
|
|
24
24
|
Chef::Application::Solo.new.run(enforce_license: true)
|
data/bin/chef-windows-service
CHANGED
@@ -23,7 +23,7 @@
|
|
23
23
|
# generate will call that file, and will be registered as
|
24
24
|
# a windows service.
|
25
25
|
|
26
|
-
$:.unshift(File.join(
|
26
|
+
$:.unshift(File.join(__dir__, "..", "lib"))
|
27
27
|
require "chef"
|
28
28
|
require "chef/application/windows_service"
|
29
29
|
|
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: 16.
|
4
|
+
version: 16.7.61
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Jacob
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-25 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.
|
19
|
+
version: 16.7.61
|
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.
|
26
|
+
version: 16.7.61
|
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.
|
87
|
+
rubygems_version: 3.1.4
|
88
88
|
signing_key:
|
89
89
|
specification_version: 4
|
90
90
|
summary: Chef-branded binstubs for chef-client
|