Actions
Feature #21212
openRules for default organization/default location of newly reported host
Status:
New
Priority:
Normal
Assignee:
-
Category:
Facts
Target version:
-
Description
It will be very usefull to allow to change the default organization as well as default_hostgroup plugin.
Updated by Marek Hulán over 7 years ago
- Status changed from New to Resolved
This is possible since Foreman 1.5, see puppet settings - default organization. Also this was solved in #3214
Closing, please let me know if I misunderstood.
Updated by Emilio Ampudia over 7 years ago
Yes, in 1.5 you can set one default organization, but I was thinking on rules to assign organitzation depending on domain, or IP, or other facter.
Updated by Marek Hulán over 7 years ago
There is the custom fact you could use, I suppose it could be also set to domain. It would be valid request though to be able to specify rules like "example.com" and "example.org" both maps to org "My company". If that's what you had in mind, I'll reopen.
Updated by Emilio Ampudia over 7 years ago
Yes, that is my request.
Thank you Marek.
Updated by Marek Hulán over 7 years ago
- Tracker changed from Support to Feature
- Project changed from Plugins to Foreman
- Subject changed from default_organization to Rules for default organization/default location of newly reported host
- Category set to Facts
- Status changed from Resolved to New
Actions