Icinga / puppet-icinga2-legacy

(legacy) Puppet module for Icinga 2 (EOL)
GNU General Public License v2.0
55 stars 93 forks source link

Ensure apt update occurs before package installation #186

Closed erikanderson closed 8 years ago

erikanderson commented 8 years ago

Will rework this and do another pr

bwolf commented 8 years ago

I don't like this. IMHO this should be solved somewhere else. But maybe I'm wrong.

I Use the following in my base/profile to ensure that apt has the recent package db:

Exec['apt_update'] -> Package <| |>
arioch commented 8 years ago

I agree with @bwolf, this should not be handled by the module.