varac
f12b007edd
[refactor] Unify apt-get update
into one resource
...
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]`.
2016-02-01 20:25:46 +01:00
Gabriel Filion
ded81d8edc
Apply code style corrections from puppet-lint
...
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
2013-01-02 17:28:59 +01:00
nadir
37e40416d2
exec{'apt_dist-upgrade'} just requires Exec['apt_updated'] if apt::disable_update if false
2012-12-19 18:30:29 +01:00
nadir
3a473dafd5
comparing variabled should use double quotes (interestingly, it does work with only one too)
2012-12-18 22:31:00 +01:00
nadir
4204847fdd
added $apt_disable_update to disable "apt-get update" during puppetruns
2012-12-18 22:26:45 +01:00
intrigeri
4765a02564
New class: apt::dist_upgrade.
2010-12-16 13:02:28 +01:00