Puppet Class: h2o::repo
- Defined in:
- manifests/repo.pp
Overview
Class: h2o::repo
h2o::repo is to setup repository.
5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'manifests/repo.pp', line 5
class h2o::repo {
case $facts['os']['family'] {
'RedHat': { include h2o::repo::yum }
'Debian': {
include ::apt
require ::apt::update
include h2o::repo::apt
}
default: { fail("Unsupported os family: ${facts['os']['family']}") }
}
}
|