aboutsummaryrefslogtreecommitdiff
path: root/manifests/role
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-12-23 14:25:46 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-12-23 14:25:46 -0200
commitf72d2eda439cbb6b50112ccfcc7947359d6e9f4f (patch)
tree3df3a715af6b950defe9d0bfc2bad0db5811681b /manifests/role
parentb98810c50d24b8bafed3512feea5812f9ecc544a (diff)
downloadpuppet-nodo-f72d2eda439cbb6b50112ccfcc7947359d6e9f4f.tar.gz
puppet-nodo-f72d2eda439cbb6b50112ccfcc7947359d6e9f4f.tar.bz2
Managing apt-cacher-ng at nodo::role::proxy
Diffstat (limited to 'manifests/role')
-rw-r--r--manifests/role/proxy.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/role/proxy.pp b/manifests/role/proxy.pp
index c298f96..bd0e825 100644
--- a/manifests/role/proxy.pp
+++ b/manifests/role/proxy.pp
@@ -11,4 +11,13 @@ class nodo::role::proxy inherits nodo::base::vserver {
package { 'liblwp-useragent-determined-perl':
ensure => installed,
}
+
+ # Apt cacher
+ package { 'apt-cacher-ng':
+ ensure => present,
+ }
+
+ class { 'apt::proxy_client':
+ require => Package['apt-cacher-ng'],
+ }
}