1
0
mirror of https://github.com/krislamo/puppet-fluentd synced 2024-12-16 13:20:35 +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 { if $::fluentd::repo_manage {
case $::osfamily { case $::osfamily {
'Debian': { 'Debian': {
include ::fluentd::repo::apt contain ::fluentd::repo::apt
} }
'RedHat': { 'RedHat': {
include ::fluentd::repo::yum include ::fluentd::repo::yum

View File

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