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:
parent
e880d11f51
commit
526fd7a84e
@ -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
|
||||
|
@ -27,4 +27,6 @@ class fluentd::repo::apt (
|
||||
key => $key,
|
||||
include => $include,
|
||||
}
|
||||
|
||||
Class['apt::update'] -> Package['fluentd']
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user