From 9dd5d7bf353fe5ffd478ff811bb6b26538afe092 Mon Sep 17 00:00:00 2001 From: viliamluc Date: Fri, 12 Aug 2016 06:58:15 -0500 Subject: puppet module added Change-Id: Ic70ee605b7e0e88054fe5599180026a55d7dddae Signed-off-by: viliamluc --- testing/puppet-fdio/manifests/honeycomb/install.pp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 testing/puppet-fdio/manifests/honeycomb/install.pp (limited to 'testing/puppet-fdio/manifests/honeycomb/install.pp') diff --git a/testing/puppet-fdio/manifests/honeycomb/install.pp b/testing/puppet-fdio/manifests/honeycomb/install.pp new file mode 100644 index 0000000..2103cae --- /dev/null +++ b/testing/puppet-fdio/manifests/honeycomb/install.pp @@ -0,0 +1,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}") + } +} -- cgit 1.2.3-korg