1
0
mirror of https://github.com/krislamo/puppet-fluentd synced 2024-11-09 20:50:34 +00:00

Ensure apt source exists before package installation (#2)

Puppet tried to install the package without apt source.
This commit is contained in:
Rafal Mierzwiak 2019-08-14 14:58:55 +01:00 committed by GitHub Enterprise
parent e880d11f51
commit 526fd7a84e
2 changed files with 3 additions and 1 deletions

View File

@ -4,7 +4,7 @@ class fluentd::repo inherits fluentd {
if $::fluentd::repo_manage {
case $::osfamily {
'Debian': {
include ::fluentd::repo::apt
contain ::fluentd::repo::apt
}
'RedHat': {
include ::fluentd::repo::yum

View File

@ -27,4 +27,6 @@ class fluentd::repo::apt (
key => $key,
include => $include,
}
Class['apt::update'] -> Package['fluentd']
}