From a9b8980b5b933d1b09134ff1ab2d7601d76c40c2 Mon Sep 17 00:00:00 2001 From: Feng Pan Date: Wed, 22 Mar 2017 10:20:43 -0400 Subject: Add parameter for dpdk-plugin support DPDK is now an optional plugin shipped in vpp-plugins package, adding parameter vpp_dpdk_support which defaults to true to support configuration of DPDK related options. JIRA: PUP-2 Change-Id: Ie033e2b6cd871c8f8b644499a0283949a0039bf6 Signed-off-by: Feng Pan --- manifests/install.pp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'manifests/install.pp') diff --git a/manifests/install.pp b/manifests/install.pp index 14577a7..bad8ec4 100644 --- a/manifests/install.pp +++ b/manifests/install.pp @@ -22,4 +22,11 @@ class fdio::install { ensure => present, require => Yumrepo["fdio-${fdio::repo_branch}"], } + + if $fdio::vpp_dpdk_support { + package { 'vpp-plugins': + ensure => present, + require => Package['vpp'], + } + } } -- cgit 1.2.3-korg