Remove deprecated exec_path parameter for db sync

This parameter was deprecated in 2024.1 release[1].

[1] f7dfc6abff

Change-Id: Ia18fae7d2b8271556d477edf1ef33487c326d9a9
This commit is contained in:
Takashi Kajinami 2024-05-02 17:11:15 +09:00
parent 478ce9ae35
commit 840c63f6ac
2 changed files with 4 additions and 12 deletions

View File

@ -16,27 +16,15 @@
# (Optional) Timeout for the execution of the db_sync
# Defaults to 300
#
# DEPRECATED PARAMETERS
#
# [*exec_path*]
# (Optional) The path to use for finding the magnum-db-manage binary.
# Defaults to undef
#
class magnum::db::sync(
$user = 'magnum',
$extra_params = '',
$db_sync_timeout = 300,
# DEPRECATED PARAMETERS
$exec_path = undef,
) {
include magnum::deps
include magnum::params
if $exec_path != undef {
warning('The exec_path parameter is deprecated and has no effect')
}
exec { 'magnum-db-sync':
command => "magnum-db-manage ${extra_params} upgrade head",
path => ['/bin', '/usr/bin'],

View File

@ -0,0 +1,4 @@
---
upgrade:
- |
The deprecated ``magnum::db::sync::exec_path`` parameter has been removed.