Puppet Class: percona::repo
- Defined in:
- manifests/repo.pp
Overview
Class: percona::repo
percona::repo is to setup repository.
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'manifests/repo.pp', line 5
class percona::repo (
$ensure = present,
$percona_release_basearch_enabled = 1,
$percona_release_noarch_enabled = 1,
$percona_release_source_enabled = 0,
$percona_testing_basearch_enabled = 0,
$percona_testing_noarch_enabled = 0,
$percona_testing_source_enabled = 0,
$percona_experimental_basearch_enabled = 0,
$percona_experimental_noarch_enabled = 0,
$percona_experimental_source_enabled = 0,
) {
case $::osfamily {
'RedHat': { include percona::repo::yum }
'Debian': {
include ::apt
require ::apt::update
include percona::repo::apt
}
default: {
fail("Unsupported osfamily: ${::osfamily}")
}
}
}
|