summaryrefslogtreecommitdiffstats
path: root/testing/puppet-fdio/manifests/honeycomb/install.pp
diff options
context:
space:
mode:
authorJuraj Linkeš <jlinkes@cisco.com>2016-08-15 08:10:08 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-08-15 08:10:08 +0000
commit3285c8e93ea59d98b392591ef6dfa5b1de3bb92d (patch)
tree795fe6b7263a4a3b5b06ce5f750ec883037d4346 /testing/puppet-fdio/manifests/honeycomb/install.pp
parent7ac44c4a1406bf060911c645f23eef18a13dc0af (diff)
parent9dd5d7bf353fe5ffd478ff811bb6b26538afe092 (diff)
Merge "puppet module added"
Diffstat (limited to 'testing/puppet-fdio/manifests/honeycomb/install.pp')
-rw-r--r--testing/puppet-fdio/manifests/honeycomb/install.pp18
1 files changed, 18 insertions, 0 deletions
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}")
+ }
+}