Class: Chef::Provider::ChefOrganization::OrganizationDataHandler
- Inherits:
-
ChefFS::DataHandler::DataHandlerBase
- Object
- ChefFS::DataHandler::DataHandlerBase
- Chef::Provider::ChefOrganization::OrganizationDataHandler
- Defined in:
- lib/chef/provider/chef_organization.rb
Instance Method Summary collapse
Instance Method Details
#normalize(organization, entry) ⇒ Object
139 140 141 142 143 144 145 146 147 148 |
# File 'lib/chef/provider/chef_organization.rb', line 139 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 |