Project

General

Profile

Bug #1811

Updated by Ewoud Kohl van Wijngaarden over 10 years ago

In the puppet-puppet module (_manifests/server/config.pp:6_) the _foreman::puppetmaster_ class is included. The _foreman::puppetmaster_ class and the _foreman::config::enc_ class that is included (and the used templates) are therefore only able to use the default values hardcoded in _foreman::params_, not the parameters given to the _foreman_ class. This leads to problems when using the foreman class e.g. with parameter _foreman_url_: The ENC and reporting config files will contain a different Foreman URL than given to the _foreman_ class. 
 
 I suggest to include the foreman::puppetmaster class in _foreman::config_ with a notify => Class['puppet::server::service'] and not use foreman::params:: values but foreman:: parameters instead.

Back