Revision a2bb93d8
Added by Ewoud Kohl van Wijngaarden about 4 years ago
manifests/puppetmaster.pp | ||
---|---|---|
# is intented to be added to your puppetmaster
|
||
class foreman::puppetmaster (
|
||
Stdlib::HTTPUrl $foreman_url = $::foreman::puppetmaster::params::foreman_url,
|
||
Optional[String] $foreman_user = $::foreman::puppetmaster::params::foreman_user,
|
||
Optional[String] $foreman_password = $::foreman::puppetmaster::params::foreman_password,
|
||
Boolean $reports = $::foreman::puppetmaster::params::reports,
|
||
Boolean $enc = $::foreman::puppetmaster::params::enc,
|
||
Boolean $receive_facts = $::foreman::puppetmaster::params::receive_facts,
|
manifests/puppetmaster/params.pp | ||
---|---|---|
|
||
# Basic configurations
|
||
$foreman_url = "https://${lower_fqdn}"
|
||
$foreman_user = undef
|
||
$foreman_password = undef
|
||
# Should foreman act as an external node classifier (manage puppet class
|
||
# assignments)
|
||
$enc = true
|
templates/puppet.yaml.erb | ||
---|---|---|
:ssl_ca: "<%= @ssl_ca %>"
|
||
:ssl_cert: "<%= @ssl_cert %>"
|
||
:ssl_key: "<%= @ssl_key %>"
|
||
:user: "<%= @foreman_user %>"
|
||
:password: "<%= @foreman_password %>"
|
||
:puppetdir: "<%= @puppet_home %>"
|
||
:puppetuser: "<%= @puppet_user %>"
|
||
:facts: <%= @receive_facts %>
|
Also available in: Unified diff
Remove unused parameters from puppetmaster
These config settings are never actually read by anything.