Method: Chef::ChefFS::DataHandler::PolicyGroupDataHandler#normalize
- Defined in:
- lib/chef/chef_fs/data_handler/policy_group_data_handler.rb
#normalize(policy_group, entry) ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/chef/chef_fs/data_handler/policy_group_data_handler.rb', line 8 def normalize(policy_group, entry) defaults = { "name" => remove_dot_json(entry.name), "policies" => {}, } result = normalize_hash(policy_group, defaults) result.delete("uri") # not useful data result end |