Revision 2e58ea36
Added by Alex Fisher over 7 years ago
manifests/init.pp | ||
---|---|---|
Class['foreman'] ->
|
||
Foreman_smartproxy <| base_url == $foreman_url |>
|
||
|
||
# When db_manage and db_manage_rake are false, this extra relationship is required.
|
||
Class['foreman::config'] ~> Class['foreman::service']
|
||
|
||
# Anchor these separately so as not to break
|
||
# the notify between main classes
|
||
Class['foreman::install'] ~>
|
Also available in: Unified diff
Fix changes to config not restarting service
When `db_manage` and `db_manage_rake` are both set to `false`,
there are no resources in `Class['foreman::database']` that get
refreshed when configuration changes. As a result,
`Class['foreman::service']` doesn't get notified and foreman isn't
restarted.
This commit adds an explicit relationship between
`Class['foreman::config']` and `Class['foreman::service']`.
Fixes GH-502