Project

General

Profile

« Previous | Next » 

Revision bfc065ce

Added by Thomas McKay over 10 years ago

roles-test - wip

roles-test - users now get roles, orgs, and locations

View differences:

lib/hammer_cli_csv/domains.rb
})[0]['domain']['id']
end
CSV.parse_line(line[ORGANIZATIONS]).each do |organization_label|
CSV.parse_line(line[ORGANIZATIONS]).each do |organization|
@k_organization_api.update({
'id' => organization_label,
'id' => foreman_organization(:name => organization),
'domain_ids' => [domain_id]
})
end

Also available in: Unified diff