Project

General

Profile

Actions

Bug #18400

open

last_compile not updated from facts, _timestamp removed

Added by David Moreno over 7 years ago. Updated over 7 years ago.

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

Description

Since we migrated our infrastructure to Puppet 4 we have noticed that facts are not being updated on Foreman. After debug a bit the problem we found that the facts yaml files for Puppet 4 are slightly different. The important part here is "_timestamp" fact, that has been renamed to "timestamp". The next links shows the change in Puppet 4 and the Foreman code that import the facts:

We have patched ENC script to update the json before posting to Foreman API but would be better to update Foreman code.

Actions

Also available in: Atom PDF