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