Feature #1578
closedImplement organizations and extend environments in Foreman
Description
Katello is multi-tenant system and it supports organizations and environments. Typically, every resource belongs to an organization and a environment. Foreman already supports environments for hosts (I am not sure if they can be assigned across whole Foreman) and we could use them for this purpose. It would be good idea to implement also organizations, so we would have direct mapping between Katello and Foreman.
From the history, Candlepin did support only organizations (called owners there), Pulp does not support either orgs or envs. In Candlepin it was tricky to work without environments and some time ago we have decided to implement environments in Candlepin. In Pulp there is no support for them, so resources have very long and ugly names like:
Organization_Name-environment_name-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_5_Server_RPMs_x86_64_5Server
We would need to do the same for Foreman. Each resource (like operating system, installation media etc) would need to have similar name. But with organizations and environments extended for all resources (or at least installation media, operating systems and templates) we could only use the Candlepin product name which is shorter (Red_Hat_Enterprise...).
From our experiences I think it would be better to implement this into the Foreman than to use the string-concatenating approach. Please consider this feature.
Updated by Ohad Levy almost 12 years ago
- Status changed from Duplicate to Assigned
- Assignee set to Amos Benari
- Target version set to 1.1
Updated by Amos Benari almost 12 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
Applied in changeset 611f5bff49c1f06ae9ad0dd42b7566df9a02af2f.
Updated by Tomer Brisker over 4 years ago
- Category changed from 47 to Plugin integration