Project

General

Profile

Actions

Feature #21212

open

Rules for default organization/default location of newly reported host

Added by Emilio Ampudia over 6 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Facts
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

It will be very usefull to allow to change the default organization as well as default_hostgroup plugin.

Actions #1

Updated by Marek Hulán over 6 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.

Actions #2

Updated by Emilio Ampudia over 6 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.

Actions #3

Updated by Marek Hulán over 6 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.

Actions #4

Updated by Emilio Ampudia over 6 years ago

Yes, that is my request.

Thank you Marek.

Actions #5

Updated by Marek Hulán over 6 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

Also available in: Atom PDF