apt: Add proxy support on the class.
authorDaniele Sluijters <daenney@users.noreply.github.com>
Fri, 27 Feb 2015 11:34:05 +0000 (12:34 +0100)
committerDaniele Sluijters <daenney@users.noreply.github.com>
Fri, 27 Feb 2015 20:14:24 +0000 (21:14 +0100)
commitd81c3d9476b14892882620723a02617c344f703c
tree8b44a123251f336f31753faf7140f45aa781b368
parentb53ea1b90c8e050b1ce3008995ebfcb0ca0baf62
apt: Add proxy support on the class.

Re-introduce proxy support at the class level. Needing to configure a
proxy is such a common scenario that having it on the class is a
reasonable thing. It also affects `apt::ppa`.

Change `apt::ppa` to no longer have its own `proxy` parameter but use
the proxy as configured on the main `apt` class.
manifests/init.pp
manifests/params.pp
manifests/ppa.pp
spec/classes/apt_spec.rb
spec/defines/ppa_spec.rb
templates/proxy.erb [new file with mode: 0644]