class Chef::Resource::ChefOrganization::OrganizationDataHandler

Public Instance Methods

normalize(organization, entry) click to toggle source
# File lib/chef/resource/chef_organization.rb, line 161
def normalize(organization, entry)
  # Normalize the order of the keys for easier reading
  normalize_hash(organization, {
    "name" => remove_dot_json(entry.name),
    "full_name" => remove_dot_json(entry.name),
    "org_type" => "Business",
    "clientname" => "#{remove_dot_json(entry.name)}-validator",
    "billing_plan" => "platform-free",
  })
end