Revision 1075a34c
Added by Justin Sherrill almost 10 years ago
manifests/init.pp | ||
---|---|---|
|
||
validate_present($capsule::parent_fqdn)
|
||
|
||
if $pulp_master {
|
||
if $pulp_master or $pulp {
|
||
foreman_proxy::settings_file { 'pulp':
|
||
template_path => 'capsule/pulp.yml'
|
||
}
|
||
}
|
||
|
||
if $pulp {
|
||
foreman_proxy::settings_file { 'pulpnode':
|
||
template_path => 'capsule/pulpnode.yml'
|
||
}
|
||
}
|
||
|
||
if $pulp {
|
||
validate_pulp($pulp)
|
||
validate_present($pulp_oauth_secret)
|
||
}
|
templates/pulp.yml | ||
---|---|---|
---
|
||
:enabled: true
|
||
:enabled: <%= @pulp_master %>
|
||
:pulp_url: https://localhost/pulp
|
||
|
templates/pulpnode.yml | ||
---|---|---|
---
|
||
:enabled: true
|
||
:enabled: <%= @pulp %>
|
||
:pulp_url: https://localhost/pulp
|
||
|
Also available in: Unified diff
fixes #7108 - if using pulp at all, override both pulp and pulpnode settings
as the default is to enable