Disable cfapi service provided by old plugin version
In case when cfapi was deployed by old murano plugin version, we also need to disable it in case of moving murano services on standalone node. Related-bug: #1620619 Change-Id: Iea23f6d21e1691e739d1dc4efde67733c5ab01ba
This commit is contained in:
parent
3baa7a973b
commit
fbea8b781c
|
@ -15,8 +15,9 @@ service { 'murano-engine':
|
|||
name => $::murano::params::engine_service_name
|
||||
}
|
||||
|
||||
$base_cfapi = hiera_hash('murano-cfapi', {})
|
||||
if pick($base_cfapi['enabled'], false) {
|
||||
$base_cfapi = hiera_hash('murano-cfapi', {})
|
||||
$plugin_cfapi = hiera_hash('murano_cfapi_plugin', {})
|
||||
if pick($base_cfapi['enabled'], false) or pick($plugin_cfapi['enabled'], false) {
|
||||
service { 'murano-cfapi':
|
||||
ensure => 'stopped',
|
||||
name => $::murano::params::cfapi_service_name
|
||||
|
|
Loading…
Reference in New Issue