mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-11-10 04:50:34 +00:00
b465108fcc
Check CentOS7.2(1511) / Redhat7.1 refs - https://td-agent-package-browser.herokuapp.com/2/redhat/ - http://docs.puppetlabs.com/puppet/latest/reference/type.html#yumrepo
18 lines
362 B
Puppet
18 lines
362 B
Puppet
# Configure package repository
|
|
#
|
|
class fluentd::repo inherits fluentd {
|
|
if $::fluentd::repo_manage {
|
|
case $::osfamily {
|
|
'Debian': {
|
|
include ::fluentd::repo::apt
|
|
}
|
|
'RedHat': {
|
|
include ::fluentd::repo::yum
|
|
}
|
|
default: {
|
|
fail("No repo available for ${::osfamily}/${::operatingsystem}")
|
|
}
|
|
}
|
|
}
|
|
}
|