chef-config 15.2.20 → 15.3.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/chef-config/config.rb +13 -7
- data/lib/chef-config/mixin/credentials.rb +1 -1
- data/lib/chef-config/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: faf22fe286fc2ca7564c8fa05d48e5c42ebdca2d19e83b9f9273bf148ba5d86d
|
4
|
+
data.tar.gz: 63fd08551db977cf6665cb2e1dda853f011d338c9f638487cfb8e4ab2fb55cbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49b8e7e04fbca4f7c8fc29e775195858c53b6f4c7bb7530d296187a6dc1cfa91adaee70a0b0c1956c2948633f5203a4fe48950ea1e6b21839d6034923343a3d9
|
7
|
+
data.tar.gz: 5625ceaa3afaad296fcb32e4d12ff0558b35afc61e1386150d9e6345e433b25f65d3cd7f503e3649213df840514290590d2a52e9ae67c6c087cfdd2662856b59
|
data/lib/chef-config/config.rb
CHANGED
@@ -265,10 +265,6 @@ module ChefConfig
|
|
265
265
|
# Defaults to <chef_repo_path>/users.
|
266
266
|
default(:user_path) { derive_path_from_chef_repo_path("users") }
|
267
267
|
|
268
|
-
# Location of policies on disk. String or array of strings.
|
269
|
-
# Defaults to <chef_repo_path>/policies.
|
270
|
-
default(:policy_path) { derive_path_from_chef_repo_path("policies") }
|
271
|
-
|
272
268
|
# Turn on "path sanity" by default.
|
273
269
|
default :enforce_path_sanity, false
|
274
270
|
|
@@ -875,6 +871,7 @@ module ChefConfig
|
|
875
871
|
#
|
876
872
|
# NOTE: CHANGING THIS SETTING MAY CAUSE CORRUPTION, DATA LOSS AND
|
877
873
|
# INSTABILITY.
|
874
|
+
#
|
878
875
|
default :file_atomic_update, true
|
879
876
|
|
880
877
|
# There are 3 possible values for this configuration setting.
|
@@ -882,19 +879,28 @@ module ChefConfig
|
|
882
879
|
# false => file staging is done via tempfiles under ENV['TMP']
|
883
880
|
# :auto => file staging will try using destination directory if possible and
|
884
881
|
# will fall back to ENV['TMP'] if destination directory is not usable.
|
882
|
+
#
|
885
883
|
default :file_staging_uses_destdir, :auto
|
886
884
|
|
887
885
|
# Exit if another run is in progress and the chef-client is unable to
|
888
886
|
# get the lock before time expires. If nil, no timeout is enforced. (Exits
|
889
887
|
# immediately if 0.)
|
888
|
+
#
|
890
889
|
default :run_lock_timeout, nil
|
891
890
|
|
892
891
|
# Number of worker threads for syncing cookbooks in parallel. Increasing
|
893
892
|
# this number can result in gateway errors from the server (namely 503 and 504).
|
894
893
|
# If you are seeing this behavior while using the default setting, reducing
|
895
894
|
# the number of threads will help.
|
895
|
+
#
|
896
896
|
default :cookbook_sync_threads, 10
|
897
897
|
|
898
|
+
# True if all resources by default default to unified mode, with all resources
|
899
|
+
# applying in "compile" mode, with no "converge" mode. False is backwards compatible
|
900
|
+
# setting for Chef 11-15 behavior. This will break forward notifications.
|
901
|
+
#
|
902
|
+
default :resource_unified_mode_default, false
|
903
|
+
|
898
904
|
# At the beginning of the Chef Client run, the cookbook manifests are downloaded which
|
899
905
|
# contain URLs for every file in every relevant cookbook. Most of the files
|
900
906
|
# (recipes, resources, providers, libraries, etc) are immediately synchronized
|
@@ -920,9 +926,9 @@ module ChefConfig
|
|
920
926
|
default :no_lazy_load, true
|
921
927
|
|
922
928
|
# A whitelisted array of attributes you want sent over the wire when node
|
923
|
-
# data is saved.
|
924
|
-
#
|
925
|
-
#
|
929
|
+
# data is saved. The default setting is nil, which collects all data. Setting
|
930
|
+
# to [] will not collect any data for save.
|
931
|
+
#
|
926
932
|
default :automatic_attribute_whitelist, nil
|
927
933
|
default :default_attribute_whitelist, nil
|
928
934
|
default :normal_attribute_whitelist, nil
|
@@ -92,7 +92,7 @@ module ChefConfig
|
|
92
92
|
# raise an error.
|
93
93
|
return if profile == "default"
|
94
94
|
|
95
|
-
raise ChefConfig::ConfigurationError, "Profile #{profile} doesn't exist. Please add it to #{
|
95
|
+
raise ChefConfig::ConfigurationError, "Profile #{profile} doesn't exist. Please add it to #{credentials_file_path}."
|
96
96
|
end
|
97
97
|
apply_credentials(config[profile], profile)
|
98
98
|
end
|
data/lib/chef-config/version.rb
CHANGED
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: 15.
|
4
|
+
version: 15.3.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Jacob
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mixlib-shellout
|