Project

General

Profile

« Previous | Next » 

Revision 04bb710e

Added by Thomas McKay over 8 years ago

job-templates

+ export job-templates
+ import job-templates
+ other odds&bits

View differences:

lib/hammer_cli_csv/compute_resources.rb
'name' => name,
'url' => line[URL]
}
})['compute_resource']['id']
})['id']
end
# Update associated resources
associate_organizations(id, line[ORGANIZATIONS], 'compute_resource')
associate_locations(id, line[LOCATIONS], 'compute_resource')
# TODO: this doesn't work "Environments you cannot remove environments that are used by hosts or inherited."
#associate_organizations(id, line[ORGANIZATIONS], 'compute_resource')
#associate_locations(id, line[LOCATIONS], 'compute_resource')
print "done\n" if option_verbose?
end

Also available in: Unified diff