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