Method: Chef::ChefFS::DataHandler::ContainerDataHandler#normalize

Defined in:
lib/chef/chef_fs/data_handler/container_data_handler.rb

#normalize(container, entry) ⇒ Object



7
8
9
10
11
12
# File 'lib/chef/chef_fs/data_handler/container_data_handler.rb', line 7

def normalize(container, entry)
  normalize_hash(container, {
    "containername" => remove_dot_json(entry.name),
    "containerpath" => remove_dot_json(entry.name),
  })
end