Fix missing dependencies about command line options setting

The command line options should be updated after ovn package is
installed, otherwise the file provided by the package is not used.

Also, ovn-northd service should be restarted when its command line
options are modified, otherwise the modification is not loaded by
the service.

Change-Id: I113040ee3f05f2a914613de8847e752ff31965d8
This commit is contained in:
Takashi Kajinami 2023-02-26 16:06:01 +09:00
parent a5cb9fd56a
commit db30911f99

View File

@ -115,7 +115,8 @@ class ovn::northd(
augeas { 'config-ovn-northd':
context => $::ovn::params::ovn_northd_context,
changes => "set ${$::ovn::params::ovn_northd_option_name} '\"${ovn_northd_opts}\"'",
before => Service['northd'],
require => Package[$::vswitch::params::ovn_northd_package_name],
notify => Service['northd'],
}
service { 'northd':