From 8383404ab8a513b39efc625b7a46ffbb61b18c8e Mon Sep 17 00:00:00 2001 From: Saravanan KR Date: Mon, 12 Dec 2016 18:27:47 +0530 Subject: [PATCH] Add dependency to openvswitch service for adding DPDK_OPTIONS Openvswitch service is not restarted after configuring the DPDK_OPTIONS parameter in /etc/sysconfig/openvswitch. Only after the restart, the openvswitch will start in the DPDK mode. Add a dependency to file modification to restart the service. Change-Id: I7df340ccffd723581ee043fd8f23a403fbfe46bb Fixes-Bug: #1649267 --- manifests/dpdk.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/manifests/dpdk.pp b/manifests/dpdk.pp index 41a769bb..05d2661a 100644 --- a/manifests/dpdk.pp +++ b/manifests/dpdk.pp @@ -60,6 +60,7 @@ class vswitch::dpdk ( case $::osfamily { 'Redhat': { file_line { '/etc/sysconfig/openvswitch': + notify => Service['openvswitch'], path => '/etc/sysconfig/openvswitch', match => '^DPDK_OPTIONS.*', line => $options,