Class | Chef::Expander::Flattener |
In: |
lib/chef/expander/flattener.rb
|
Parent: | Object |
Flattens and expands nested Hashes representing Chef objects (e.g, Nodes, Roles, DataBagItems, etc.) into flat Hashes so the objects are suitable to be saved into Solr. This code is more or less copy-pasted from chef/solr/index which may or may not be a great idea, though that does minimize the dependencies and hopefully minimize the memory use of chef-expander.
UNDERSCORE | = | '_' |
X | = | 'X' |
X_CHEF_id_CHEF_X | = | 'X_CHEF_id_CHEF_X' |
X_CHEF_database_CHEF_X | = | 'X_CHEF_database_CHEF_X' |
X_CHEF_type_CHEF_X | = | 'X_CHEF_type_CHEF_X' |