Project

General

Profile

Actions

Bug #29466

open

content of puppet fact "os -> distro -> codename" overwrites release name of "operating system" defined on Foreman

Added by Harald Linden about 4 years ago.

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

Description

Setting to replicate:

  • Foreman 1.24.2
  • Katello 3.14.1
  • Ubuntu 18.04 defined as an OS in Foreman
  • Puppet 6 on managed client with Ubuntu 18.04
  • "Ignore facts for operating system" -> "no" (default)

Problem: After a puppet run on the registered client, the string that the client sends back for the value of "os -> distro -> codename" is set as the "release name" for the OS that the client is attached to in Foreman. The next operation that uses that value, e.g. rendering a preseed-template for another machine with the same OS uses the new value sent by the client.

For a demo, see attached screencast.

Expected behaviour: A client should never be able to overwrite any administrative setting in Foreman.

Workaround: Set "Ignore facts for operating system" under "Setting, Privisioning" to "yes".


Files

No data to display

Actions

Also available in: Atom PDF