summaryrefslogtreecommitdiff
path: root/manifests/update.pp
AgeCommit message (Collapse)Author
2016-12-30more ; to ,Louis-Philippe Véronneau
2016-12-22make sure every object ends with either a comma or a semicolonLouis-Philippe Véronneau
2016-12-22fix missing/superfluous newline at the end/beginning of filesLouis-Philippe Véronneau
2016-02-01[refactor] Unify `apt-get update` into one resourcevarac
Before, there were two Execs that did an `apt-get update`, `Exec[refresh_apt]` and `Exec[apt_updated]`, which were triggered by different resources. This changes gets rid of the first one, and all resources now depend on `Exec[apt_updated]`.
2013-01-02Apply code style corrections from puppet-lintGabriel Filion
Signed-off-by: Gabriel Filion <lelutin@gmail.com> + more linting by intrigeri. Conflicts: manifests/apticron.pp manifests/cron/dist_upgrade.pp manifests/cron/download.pp manifests/dist_upgrade/initiator.pp manifests/init.pp manifests/listchanges.pp manifests/preferences.pp manifests/preseeded_package.pp manifests/proxy_client.pp manifests/unattended_upgrades.pp manifests/update.pp
2012-06-18fix relations and finally get rid off config_filemh
2010-12-15Repair Exec['update_apt'] to run apt-get update when needed.intrigeri
Move this Exec to a dedicated class that is not included by default i.e. we default not to "apt-get update" on every Puppet run. We now make use of this class in the apt::upgrade_package define to make sure APT indexes are up-to-date before attempting package upgrades. One may now use the following to ensure current packages are installed by Package resources: include apt::update Package { require => Exec[apt_updated] }