Project

General

Profile

Actions

Refactor #10425

open

Remove name/fqdn/shortname/hostname duplication

Added by Dominic Cleal about 9 years ago. Updated over 8 years ago.

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

Description

The storage of names with and without domain names appended should be refactored to be consistent, as it currently depends on the unattended setting for more compatibility with Puppet storeconfigs (not shared any more).

There are a lot of different methods in the Nic::* and Host::* classes for determining the FQDN, hostname, name and shortname, which should be unified. It should be possibly for fqdn, name and hostname to always be the same, and shortname to return consistently without as many methods as we currently have.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #10403: Smart Class Parameter Overrides using the FQDN fact as a match no longer applies the overrideClosedDominic Cleal05/06/2015Actions
Actions

Also available in: Atom PDF