puppetserver_foreman

Scripts to integrate Puppetserver with Foreman

48,156 downloads

59 latest version

Version information

  • 4.2.0 (latest)
  • 4.1.0
  • 4.0.0
  • 3.1.0
  • 3.0.0
  • 2.4.0
  • 2.3.0
  • 2.2.0
  • 2.1.0
  • 2.0.0
  • 1.0.0
released May 9th 2025
This version is compatible with:
  • Puppet Enterprise 2025.2.x, 2025.1.x, 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x
  • Puppet >= 7.0.0 < 9.0.0
  • , , , , , , , Archlinux,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'theforeman-puppetserver_foreman', '4.2.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add theforeman-puppetserver_foreman
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install theforeman-puppetserver_foreman --version 4.2.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

theforeman/puppetserver_foreman — version 4.2.0 May 9th 2025

Puppet module for managing Foreman integration in Puppetserver

The Foreman integration consists of an ENC and a report processor. This has a configuration file. All of this can be managed by this module.

Historically this integration was part of theforeman-foreman module.

Compatibility

  • Foreman API v2: 1.3 - 3.x
  • Puppetserver: 1.x - 7.x

These scripts have a long history and have basically been unchanged since Puppet 2.6, even before Puppetserver existed. They have been adopted to leverage some more modern Ruby methods and require at least Ruby 2.7, but can probably still handle old reports.

Puppet Enterprise integration

People running Puppet Enterprise use the PE Console as ENC. To make a migration to OpenVox/Foreman easier, you can use this module to send facts to Foreman, in parallel to using the PE Console. This is handled with the foreman_puppetserver::fact_watcher_service boolean. It defaults to true on Puppet Enterprise. When set to true, it will create fact_watcher.service. It watches continuously for new facts and uploads them to Foreman.