aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/install.pp
diff options
context:
space:
mode:
authorFeng Pan <fpan@redhat.com>2017-03-22 10:20:43 -0400
committerFeng Pan <fpan@redhat.com>2017-04-22 00:24:57 -0400
commita9b8980b5b933d1b09134ff1ab2d7601d76c40c2 (patch)
tree6a8954f02e651210bbac8295781d440df0d8cc98 /manifests/install.pp
parentbb2d937d418b9353fd6f294978c23f5908d2e366 (diff)
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 <fpan@redhat.com>
Diffstat (limited to 'manifests/install.pp')
-rw-r--r--manifests/install.pp7
1 files changed, 7 insertions, 0 deletions
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'],
+ }
+ }
}