Ubuntu: Purge the default policy.yaml for Placement
The policy.yaml file provided by the UCA package contains wrong modifications since Xena, which is causing consistent API error. This change makes sure the file is purged in Ubuntu to workaround the problem. This change will be reverted once the package file is fixed. Related-Bug: #1987984 Change-Id: I9e6e91c065f994433c9b92d9b84e7c1e6d61f3e5
This commit is contained in:
parent
ce702ebfb0
commit
71197c8581
@ -42,6 +42,12 @@ class openstack_integration::placement {
|
||||
database_connection => 'mysql+pymysql://placement:placement@127.0.0.1/placement?charset=utf8',
|
||||
}
|
||||
include placement::db::sync
|
||||
# TODO(tkajinam): Remove this once lp bug 1987984 is fixed.
|
||||
if $::operatingsystem == 'Ubuntu' {
|
||||
class { 'placement::policy':
|
||||
purge_config => true
|
||||
}
|
||||
}
|
||||
include placement::api
|
||||
include apache
|
||||
if ($::operatingsystem != 'Debian') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user