summaryrefslogtreecommitdiff
path: root/chef-config
diff options
context:
space:
mode:
authorThom May <thom@may.lt>2018-03-21 16:49:46 +0000
committerGitHub <noreply@github.com>2018-03-21 16:49:46 +0000
commitf52b31f01cd4d11e503aa73aa614d5ccbb00b8f7 (patch)
treecc86e8b9e91a6317084f29af488733a28f373ea8 /chef-config
parent26a5e48aa7f447beaee016b0b54ee2076c308dda (diff)
parent38f11a01425445c161f1dfd2c17ceacbaabf6341 (diff)
downloadchef-f52b31f01cd4d11e503aa73aa614d5ccbb00b8f7.tar.gz
Merge pull request #7016 from chef/tm/chef_guid
Save the node's UUID as an attribute
Diffstat (limited to 'chef-config')
-rw-r--r--chef-config/lib/chef-config/config.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/chef-config/lib/chef-config/config.rb b/chef-config/lib/chef-config/config.rb
index 9d11ba9dc4..c467d88f80 100644
--- a/chef-config/lib/chef-config/config.rb
+++ b/chef-config/lib/chef-config/config.rb
@@ -712,6 +712,12 @@ module ChefConfig
# The selected profile when using credentials.
default :profile, nil
+ default :chef_guid_path do
+ PathHelper.join(config_dir, "chef_guid")
+ end
+
+ default :chef_guid, nil
+
# knife configuration data
config_context :knife do
# XXX: none of these default values are applied to knife (and would create a backcompat