diff options
author | Feng Pan <fpan@redhat.com> | 2017-02-19 15:14:40 -0500 |
---|---|---|
committer | Feng Pan <fpan@redhat.com> | 2017-02-20 10:53:29 -0500 |
commit | ac2d7693e02a11d80879ccd80dc33a4f213295e6 (patch) | |
tree | ba4d6cb546b1db34af796b065be9b625c676cc31 /manifests/service.pp | |
parent | 32ce2b41b1ca0b6224b45d8bf79039db5e15e997 (diff) |
Add support for inline config changes
This patch changes VPP configuration from file template to inline
change directly. This prevents issue with overwriting existing
VPP config.
Change-Id: I4133be8ebe689d9288e3a8e64cca43afd7e42e64
Signed-off-by: Feng Pan <fpan@redhat.com>
Diffstat (limited to 'manifests/service.pp')
-rw-r--r-- | manifests/service.pp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/manifests/service.pp b/manifests/service.pp index cb08721..e36133e 100644 --- a/manifests/service.pp +++ b/manifests/service.pp @@ -3,11 +3,8 @@ # Configure and start VPP service. # class fdio::service { - vpp_service { 'vpp' : - ensure => present, - pci_devs => $::fdio::vpp_dpdk_devs, - state => 'up', - copy_kernel_nic_ip => $::fdio::copy_kernel_nic_ip, + service { 'vpp' : + ensure => running, + enable => true, } } - |