Project

General

Profile

Actions

Feature #26164

closed

Provide Puppet (CA) multi homing

Added by Ewoud Kohl van Wijngaarden about 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Puppet integration
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

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:

  • foreman.lan.example.com (192.0.2.2)
  • proxy.lan.example.com (192.0.2.3)
  • proxy.wan.example.com (198.51.100.3)
  • puppet.wan.example.com (198.51.100.4)
  • puppetca.wan.example.com (198.51.100.5)

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

:puppet_url: https://puppet.wan.example.com:8140

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

:puppet_url: https://puppetca.wan.example.com:8140

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 2 (1 open1 closed)

Related to Foreman - Feature #4345: Puppet CA proxyNew02/14/2014Actions
Related to Smart Proxy - Feature #26322: Expose the Puppet API URLsClosedEwoud Kohl van WijngaardenActions
Actions #1

Updated by The Foreman Bot about 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ewoud Kohl van Wijngaarden
  • Pull request https://github.com/theforeman/foreman/pull/6513 added
Actions #2

Updated by Ewoud Kohl van Wijngaarden about 5 years ago

Actions #3

Updated by Ewoud Kohl van Wijngaarden about 5 years ago

Actions #4

Updated by Tomer Brisker about 5 years ago

  • Target version changed from 1.22.0 to 1.23.0

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

Actions #5

Updated by Tomer Brisker almost 5 years ago

  • Target version deleted (1.23.0)

this is still wip and missed the 1.23 branching.

Actions #6

Updated by The Foreman Bot over 4 years ago

  • Fixed in Releases 1.24.0 added
Actions #7

Updated by Ewoud Kohl van Wijngaarden over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions #8

Updated by Amit Upadhye over 4 years ago

  • Category set to PuppetCA
Actions #9

Updated by Ewoud Kohl van Wijngaarden over 4 years ago

  • Category changed from PuppetCA to Puppet integration
Actions

Also available in: Atom PDF