Remove foreman_organization/location from taxonomy detection and add tests
Puppet importer taxonomy code (set_taxonomies) is causing problems for discovery, this is a regression. We had no tests for this in discover and that's the reason why this was easy to introduce. This is the timeline:
- Bug in older version of Foreman
- Fix in Foreman 1.14
- Regression in Foreman 1.17
- Fix no. 2 merged for Foreman 1.22
This patch adds more tests around taxonomy and makes sure that taxonomy does not gets overriden by core importing taxonomy setting mechanism again. In order to make the tests effective, this patch also removes "foreman_organization" and "foreman_location" taxonomy detection, this can be easily changed by users to the same fact but with different name: "discovery_organization" and "discovery_location".
#4 Updated by Anonymous over 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_discovery|be73dfd1394099dbcaf067c00bca9a0fddb1a97f.