1
0
mirror of https://github.com/krislamo/puppet-fluentd synced 2024-12-16 13:20:35 +00:00
puppet-fluentd/manifests/repo.pp

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}")
}
}
}
}