Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
Hacking & PentestingLMU München: Großer Hackerangriff auf Studentendaten(21.09.2026 um 22:43 Uhr)
Hacking & PentestingGoogle Fined €403 Million Over Location Data Practices(21.09.2026 um 22:20 Uhr)
Apple iOS & macOSGM isn't changing course on CarPlay for its electric vehicles(21.09.2026 um 22:29 Uhr)
AI & KI NachrichtenPeoria, Ariz., to Update Old Zoning Rules on Data Centers(21.09.2026 um 22:22 Uhr)
AI & KI NachrichtenCalifornia tightens rules on AI data center energy and water use(21.09.2026 um 22:29 Uhr)
YouTube Security VideosTechquickie: The Steam Frame Shouldn't Work - Here's Why It Does(21.09.2026 um 21:17 Uhr)
Hacking & PentestingLMU München: Großer Hackerangriff auf Studentendaten(21.09.2026 um 22:43 Uhr)
Hacking & PentestingGoogle Fined €403 Million Over Location Data Practices(21.09.2026 um 22:20 Uhr)
Apple iOS & macOSGM isn't changing course on CarPlay for its electric vehicles(21.09.2026 um 22:29 Uhr)
AI & KI NachrichtenPeoria, Ariz., to Update Old Zoning Rules on Data Centers(21.09.2026 um 22:22 Uhr)
AI & KI NachrichtenCalifornia tightens rules on AI data center energy and water use(21.09.2026 um 22:29 Uhr)
YouTube Security VideosTechquickie: The Steam Frame Shouldn't Work - Here's Why It Does(21.09.2026 um 21:17 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

Puppet with Foreman - PuppetDB Reporting Errors

Fixing Missing OS, Environment, and Fact Data in Foreman When Using PuppetDB Recently, I re-introduced PuppetDB into my infrastructure to support the new confdroid_nagios module. Everything worked as expected on the Puppet side — P…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!




Fixing Missing OS, Environment, and Fact Data in Foreman When Using PuppetDB



Recently, I re-introduced PuppetDB into my infrastructure to support the new confdroid_nagios module. Everything worked as expected on the Puppet side — PuppetDB stored facts, catalogs, and reports correctly.



However, when I checked Foreman, something looked wrong. All hosts showed empty fields for basic information such as Operating System, Environment, and many other facts. The core Puppet functionality was fine, but Foreman’s host overview and reporting appeared broken.

After some investigation, I found a simple but important configuration mismatch.





The Root Cause



When Foreman is used as an External Node Classifier (ENC), Puppet needs a specific routing configuration to properly handle facts. This is defined in the file:



/etc/puppetlabs/puppet/routes.yaml



An older default configuration (still present in some Foreman installations) looked like this:




master:
facts:
terminus: puppetdb
cache: yaml






This setup worked in earlier versions of Puppet Server, but modern Puppet Server (starting around version 7) prefers JSON for the fact cache because it is faster and avoids certain quirks of YAML.






The Correct Configuration



Update the file to use JSON as the cache format:




master:
facts:
terminus: puppetdb
cache: json






After making this change, restart the relevant services:




systemctl restart puppetserver
systemctl restart foreman






As soon as the services came back up, all the missing facts — OS details, environments, custom facts, and more — started populating correctly in Foreman.






How the Pieces Fit Together



To make the interaction clearer, here’s a visual overview of the data flow between the Puppet agent, Puppet Server, PuppetDB, and Foreman:



Mermaid diagram



Key flow explained:




  • The Puppet agent reports facts to the Puppet Server.

  • Puppet Server stores them in PuppetDB (using the puppetdb terminus).

  • When Foreman acts as the ENC, the Puppet Server also needs to retrieve facts from PuppetDB to display rich host information in the Foreman UI.
    The routes.yaml file tells Puppet Server exactly how to read and cache those facts. Using cache: json aligns with current Puppet Server defaults and ensures Foreman receives complete, properly formatted data.






Quick Tip



If you are running a modern Puppet Server (7 or 8) with Foreman and PuppetDB, always double-check that routes.yaml uses cache: json. The older yaml setting can silently cause missing or incomplete data in Foreman without breaking Puppet itself.



This small change took only a few minutes but restored full visibility and reporting in my Foreman dashboard.

Have you run into similar fact synchronization issues between PuppetDB and Foreman? What versions are you running? Feel free to share your experiences or additional tips in the comments.






Did you find this post helpful? You can support me.





Hetzner Referral



Substack



ConfDroid Feedback Portal






Related posts



Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Puppet with Foreman - PuppetDB Reporting Errors

Thematisch verwandte Begriffe: Puppet, with, Foreman, PuppetDB · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-45381 | Tautulli is a Python based monitoring and tracking tool for Plex Media S…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick