1
0
mirror of https://github.com/krislamo/puppet-fluentd synced 2024-09-19 20:20:35 +00:00
puppet-fluentd/manifests/repo.pp
Rafal Mierzwiak 526fd7a84e Ensure apt source exists before package installation (#2)
Puppet tried to install the package without apt source.
2019-08-14 14:58:55 +01:00

18 lines
362 B
Puppet

# Configure package repository
#
class fluentd::repo inherits fluentd {
if $::fluentd::repo_manage {
case $::osfamily {
'Debian': {
contain ::fluentd::repo::apt
}
'RedHat': {
include ::fluentd::repo::yum
}
default: {
fail("No repo available for ${::osfamily}/${::operatingsystem}")
}
}
}
}