Merge "Make sure python3-novaclient is installed before creating fence_compute"
This commit is contained in:
commit
3859f23df3
|
@ -241,8 +241,14 @@ class tripleo::profile::base::pacemaker (
|
|||
}
|
||||
}
|
||||
|
||||
if $enable_instanceha and $pacemaker_master {
|
||||
include tripleo::profile::base::pacemaker::instance_ha
|
||||
if $enable_instanceha {
|
||||
if $pacemaker_master {
|
||||
include tripleo::profile::base::pacemaker::instance_ha
|
||||
}
|
||||
# Until https://bugzilla.redhat.com/show_bug.cgi?id=1857247 is fixed we
|
||||
# need to make sure the package is installed on the host.
|
||||
ensure_resource('package', 'python3-novaclient', { ensure => 'installed' })
|
||||
Package<| name == 'python3-novaclient' |> -> Pcmk_stonith<| title == 'fence-nova' |>
|
||||
}
|
||||
|
||||
if ($step >= 2 and $pacemaker_master) {
|
||||
|
|
Loading…
Reference in New Issue