# File lib/chef/chef_fs/data_handler/role_data_handler.rb, line 30 def chef_class Chef::Role end
# File lib/chef/chef_fs/data_handler/role_data_handler.rb, line 8 def normalize(role, entry) result = normalize_hash(role, { 'name' => remove_dot_json(entry.name), 'description' => '', 'json_class' => 'Chef::Role', 'chef_type' => 'role', 'default_attributes' => {}, 'override_attributes' => {}, 'run_list' => [], 'env_run_lists' => {} }) result['run_list'] = normalize_run_list(result['run_list']) result['env_run_lists'].each_pair do |env, run_list| result['env_run_lists'][env] = normalize_run_list(run_list) end result end
Generated with the Darkfish Rdoc Generator 2.