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
4204847fdd
added $apt_disable_update to disable "apt-get update" during puppetruns
2012-12-18 22:26:45 +01:00
Micah Anderson
c5dc8ff5fc
add -q to the apt-get invocation in upgrade_package.pp, also switch to using -y instead of --force-yes. this way we are acting in the same way as the dist_upgrade class
2010-12-18 15:47:11 -05:00
Micah Anderson
5fdadb955d
switch aptitude to apt-get, since aptitude will sometimes automatically do things that are unrelated to the task at hand, such as deinstalling automatically installed packages, which can be undesirable behavior
2010-12-18 14:01:11 -05:00
intrigeri
575e4ab9cc
Fix apt::upgrade_package when used multiple times.
2010-12-16 18:14:23 +01:00
intrigeri
75cf15b7c7
Fix packages dependency.
2010-12-15 15:18:16 +01:00
intrigeri
a06bf5f71b
apt::upgrade_package: explicitly depend on needed packages.
...
This define was previously broken unless dctrl-tools and apt-show-versions were
installed.
2010-12-15 10:00:47 +01:00
intrigeri
af8ecf1e9f
Repair Exec['update_apt'] to run apt-get update when needed.
...
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] }
2010-12-15 09:47:57 +01:00
intrigeri
4979889584
(ugly workaround warning) Update packages lists before upgrading a package.
...
... because Exec[update_apt] is currently never run since we set it refreshonly.
Better solutions are being thought of, but in the meantime the least we can do
is somehow repair apt::upgrade_package.
2010-12-14 22:04:05 +01:00
intrigeri
5846da98ce
Factorize.
2010-12-14 21:39:50 +01:00
Micah Anderson
e15283b781
format standardization
2010-12-07 13:18:41 -05:00
mh
b0e0f720d0
add refactored files
2009-10-30 20:20:42 +01:00