Project

General

Profile

Revision bfc065ce

Added by Thomas McKay over 8 years ago

roles-test - wip

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

View differences:

lib/hammer_cli_csv/domains.rb
87 87
                                           })[0]['domain']['id']
88 88
        end
89 89

  
90
        CSV.parse_line(line[ORGANIZATIONS]).each do |organization_label|
90
        CSV.parse_line(line[ORGANIZATIONS]).each do |organization|
91 91
          @k_organization_api.update({
92
                                       'id' => organization_label,
92
                                       'id' => foreman_organization(:name => organization),
93 93
                                       'domain_ids' => [domain_id]
94 94
                                     })
95 95
        end

Also available in: Unified diff