diff --git a/manifests/repo.pp b/manifests/repo.pp index 1efc365..9ce0709 100644 --- a/manifests/repo.pp +++ b/manifests/repo.pp @@ -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 diff --git a/manifests/repo/apt.pp b/manifests/repo/apt.pp index dd9b194..a409ff3 100644 --- a/manifests/repo/apt.pp +++ b/manifests/repo/apt.pp @@ -27,4 +27,6 @@ class fluentd::repo::apt ( key => $key, include => $include, } + + Class['apt::update'] -> Package['fluentd'] }