summaryrefslogtreecommitdiffstats
path: root/testing/puppet-fdio/manifests/vpp/install.pp
blob: 3ae4f87a0c02ed2bb246027530b0f54324860b88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# == Class fdio::vpp::install
#
# Manages the installation of vpp.
#
class fdio::vpp::install (
  $install_method = $::fdio::params::install_method,
) inherits fdio::install {
  if $install_method == 'rpm' {
    # Install the VPP RPM
    package { 'vpp':
      ensure  => present,
      require => Yumrepo['fdio-master'],
    }
  }
  else {
    fail("Unknown install method: ${fdio::install_method}")
  }
}