Apply vs_config after openvswitch service is started

The vs_config resource requires access to ovs-db thus openvswitch
service should be started before triggering the resource.

Change-Id: I614e488eb38dd27c57ed80f0608a98a2f4163bfb
This commit is contained in:
Takashi Kajinami 2021-08-23 13:43:01 +09:00
parent 31f24497f8
commit 96dd49f1ae
2 changed files with 3 additions and 0 deletions

View File

@ -155,6 +155,8 @@ class vswitch::dpdk (
name => $::vswitch::params::ovs_service_name,
}
Service['openvswitch'] -> Vs_config<||>
create_resources('vs_config', $dpdk_configs, $dpdk_dependencies)
create_resources('vs_config', $vs_config)

View File

@ -140,4 +140,5 @@ class vswitch::ovs(
Service['openvswitch'] -> Vs_port<||>
Service['openvswitch'] -> Vs_bridge<||>
Service['openvswitch'] -> Vs_config<||>
}