chef-config 18.5.0 → 18.6.2

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: ddcbcd4feef547cdfe1ea8628092044d92f0200303a6996678ac5b61d799e56f
4
- data.tar.gz: 0cc8b36b0817c182995149b254772e602ed3faa4f0e1d9849226415429b79fd3
3
+ metadata.gz: 3700669248154287f8361161738a77aa86a1ad01939149e4fdc5cce1b73ee988
4
+ data.tar.gz: 7d8437c1d4fe057581cb8d4cfff0207b0595aea8e6ecf3185a21e0664a09609b
5
5
  SHA512:
6
- metadata.gz: 5065a64b8417cae75b3014a3d76a14dc51d763177df6c2ce15dc12b515a2c093b1f4e1d560f9ffb3001868727b334071ed4335d4ae354f40d008d79f2f1377bd
7
- data.tar.gz: 649833ca804c13b87a35e62e1537bfd3aa84714a187841d32044072053174f74db600f29e7ce801193ddef6037338bf958a2380ff8392482cf3d15378d518383
6
+ metadata.gz: 9711a60e4545925941fe8d6b65a2b8e7b0969bf8c95c11187099388a12f15025922cb06707de59dfc13ca9fcc8d622cbed53e249c88cb14e6b52453a23ac14a9
7
+ data.tar.gz: 021475fc4ba16f49b07331732b5c1be5ad632fa22621db3ed7655937d50aec117ce423e5ee6e384f2c969e58e7353cb79d5f8ba934f3ffaaa7ef7984d6878539
@@ -421,14 +421,7 @@ module ChefConfig
421
421
  # If your `file_cache_path` resides on a NFS (or non-flock()-supporting
422
422
  # fs), it's recommended to set this to something like
423
423
  # '/tmp/chef-client-running.pid'
424
- # In Target Mode, the node name will be used as a prefix to allow
425
- # parallel execution of Chef against different targets
426
- default(:lockfile) do
427
- prefix = ""
428
- prefix = "#{ChefConfig::Config.node_name}-" if ChefConfig::Config.target_mode?
429
-
430
- PathHelper.join(file_cache_path, "#{prefix}#{ChefUtils::Dist::Infra::CLIENT}-running.pid")
431
- end
424
+ default(:lockfile) { PathHelper.join(file_cache_path, "#{ChefUtils::Dist::Infra::CLIENT}-running.pid") }
432
425
 
433
426
  ## Daemonization Settings ##
434
427
  # What user should Chef run as?
@@ -54,8 +54,6 @@ module ChefConfig
54
54
  # @since 14.4
55
55
  # @return [String]
56
56
  def credentials_file_path
57
- return Chef::Config[:credentials] if defined?(Chef::Config) && Chef::Config.key?(:credentials)
58
-
59
57
  PathHelper.home(ChefUtils::Dist::Infra::USER_CONF_DIR, "credentials").freeze
60
58
  end
61
59
 
@@ -15,5 +15,5 @@
15
15
 
16
16
  module ChefConfig
17
17
  CHEFCONFIG_ROOT = File.expand_path("..", __dir__)
18
- VERSION = "18.5.0".freeze
18
+ VERSION = "18.6.2".freeze
19
19
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-config
3
3
  version: !ruby/object:Gem::Version
4
- version: 18.5.0
4
+ version: 18.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Jacob
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-02 00:00:00.000000000 Z
11
+ date: 2024-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef-utils
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 18.5.0
19
+ version: 18.6.2
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: 18.5.0
26
+ version: 18.6.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mixlib-shellout
29
29
  requirement: !ruby/object:Gem::Requirement