aboutsummaryrefslogtreecommitdiff
path: root/templates/20proxy.erb
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-12-15 09:47:57 +0100
committerintrigeri <intrigeri@boum.org>2010-12-15 09:47:57 +0100
commitaf8ecf1e9f6745a2c2d8c09b0f1e1d7c572981b9 (patch)
tree22b48aa33ff5386e7f31c4f3dec7101ea9b6e41b /templates/20proxy.erb
parent4979889584b2b150e43f9930f5eccbf6cf5245fa (diff)
downloadpuppet-apt-af8ecf1e9f6745a2c2d8c09b0f1e1d7c572981b9.tar.gz
puppet-apt-af8ecf1e9f6745a2c2d8c09b0f1e1d7c572981b9.tar.bz2
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] }
Diffstat (limited to 'templates/20proxy.erb')
0 files changed, 0 insertions, 0 deletions