Puppet Class: h2o::repo::yum

Defined in:
manifests/repo/yum.pp

Overview

Parameters:

  • ensure (String) (defaults to: $h2o::repo_ensure)


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'manifests/repo/yum.pp', line 1

class h2o::repo::yum (
  String $ensure = $h2o::repo_ensure,
) {

  $_osfamily = $facts['os']['name'] ? {
    'CentOS' => 'centos',
    'Fedora' => 'fedora',
  }

  yumrepo { 'h2o':
    ensure        => $ensure,
    descr         => 'bintray-tatsushid-h2o-rpm',
    baseurl       => "https://dl.bintray.com/tatsushid/h2o-rpm/${_osfamily}/\$releasever/\$basearch/",
    enabled       => 1,
    gpgcheck      => 0,
    repo_gpgcheck => 0,
  }

}