Feature #26164

Provide Puppet (CA) multi homing

Added by Ewoud Kohl van Wijngaarden 11 months ago. Updated 3 months ago.

Puppet integration
Target version:
Bugzilla link:
Fixed in Releases:
Found in Releases:


Currently the generated puppetmaster and puppet_ca_server hostnames are the same as the smart proxy.

This isn't always the case. When you have a setup:

Foreman <-> Smart Proxy <-> Hosts

Here you have a private LAN between Foreman and its Smart Proxies. There is another network which has hosts. Here you'd have the Puppet (CA) on the host network. In hostnames:

  • (
  • (
  • (
  • (
  • (

In /etc/foreman-proxy/settings.d/puppet_proxy_puppet_api.yml you'd configure:


In /etc/foreman-proxy/settings.d/puppetca_http_api.yml (Proxy 1.22) you'd configure:


By using the new capabilities framework we can expose these settings to Foreman. Foreman can use these to present the correct hostnames, like in the provisioning templates.

Related issues

Related to Foreman - Feature #4345: Puppet CA proxyNew2014-02-14
Related to Smart Proxy - Feature #26322: Expose the Puppet API URLsClosed

Associated revisions

Revision c2317d44 (diff)
Added by Ewoud Kohl van Wijngaarden 4 months ago

Fixes #26164 - Use the proxy configured puppet_url

When the proxy exposes the puppet_url setting for the Puppet or Puppet
CA features this can be used to provide multi homing.

An additional benefit is that we support using a non-standard port for
both the Puppet master and the CA.


#1 Updated by The Foreman Bot 11 months ago

  • Assignee set to Ewoud Kohl van Wijngaarden
  • Status changed from New to Ready For Testing
  • Pull request added

#2 Updated by Ewoud Kohl van Wijngaarden 11 months ago

#3 Updated by Ewoud Kohl van Wijngaarden 10 months ago

#4 Updated by Tomer Brisker 8 months ago

  • Target version changed from 1.22.0 to 1.23.0

Looks like this didn't make it in to 1.22.

#5 Updated by Tomer Brisker 6 months ago

  • Target version deleted (1.23.0)

this is still wip and missed the 1.23 branching.

#6 Updated by The Foreman Bot 4 months ago

  • Fixed in Releases 1.24.0 added

#7 Updated by Ewoud Kohl van Wijngaarden 4 months ago

  • Status changed from Ready For Testing to Closed

#8 Updated by Amit Upadhye 3 months ago

  • Category set to PuppetCA

#9 Updated by Ewoud Kohl van Wijngaarden 3 months ago

  • Category changed from PuppetCA to Puppet integration

Also available in: Atom PDF