- From: "Stewart, Curtis" <
>
- To: "
" <
>
- Subject: [chef] Add to Node Attribute Hash Value
- Date: Wed, 19 Mar 2014 14:58:28 +0000
- Accept-language: en-US
Ohai Chefs!
I was hoping these two would merge without having to copy the default values from the community cookbook into mine.
Is there a different route to allow the two settings to merge?
The chef-client cookbook sets the following attributes by default:
default['chef_client']['config'] = { 'chef_server_url' => Chef::Config[:chef_server_url], 'validation_client_name' => Chef::Config[:validation_client_name], 'node_name' => Chef::Config[:node_name] == node['fqdn'] ? false : Chef::Config[:node_name] }
My wrapper cookbook has another value defined in the default attributes file:
default['chef_client']['config'] = {
'encrypted_data_bag_secret' => Chef::Config[:encrypted_data_bag_secret]
}
Thanks,
|
- [chef] Add to Node Attribute Hash Value, Stewart, Curtis, 03/19/2014
Archive powered by MHonArc 2.6.16.