Project

General

Profile

Actions

Bug #31168

closed

Show host name in ENC output

Added by Nagoor Shaik over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
External Nodes
Target version:
-
Fixed in Releases:
Found in Releases:

Description

Having the name of the Host displayed in the ENC output can be re-used as Ansible roles example: Red Hat Insights Ansible role has an option "display_name" which we can default to hostname of the host registered which can be either an FQDN (which is by default) or in case a user has set Append domain names to host being set to No then it sets shortname for hosts.

Then Insights remediation scripts would fail to lookup the host from Foreman, which is actual reason for issue reported in https://bugzilla.redhat.com/show_bug.cgi?id=1644832


Related issues 2 (0 open2 closed)

Related to Foreman - Bug #31882: The fix for #31168 overwrites $::hostname with the FQDN in PuppetClosedManfred PuschActions
Related to Foreman - Bug #35326: Foreman Puppet ENC "hostname" and "fqdn" conflict with core Puppet FactsClosedPaul DonohueActions
Actions #1

Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Nagoor Shaik
  • Pull request https://github.com/theforeman/foreman/pull/8103 added
Actions #2

Updated by The Foreman Bot over 3 years ago

  • Fixed in Releases 2.4.0 added
Actions #3

Updated by Nagoor Shaik over 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by The Foreman Bot over 3 years ago

  • Pull request https://github.com/theforeman/foreman/pull/8134 added
Actions #5

Updated by Ewoud Kohl van Wijngaarden over 3 years ago

  • Related to Bug #31882: The fix for #31168 overwrites $::hostname with the FQDN in Puppet added
Actions #6

Updated by Tomer Brisker over 3 years ago

  • Category set to External Nodes
Actions #7

Updated by Ewoud Kohl van Wijngaarden over 1 year ago

  • Related to Bug #35326: Foreman Puppet ENC "hostname" and "fqdn" conflict with core Puppet Facts added
Actions

Also available in: Atom PDF