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:
parent
a5cb9fd56a
commit
db30911f99
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user