aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-12-23 16:00:32 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-12-23 16:00:32 -0200
commit84cf4bab85b089b179ed84ca9ff1da83903f9303 (patch)
tree2443185b282765edb623033601e9adf38ee00fc1
parente3ff3eb91151f5dcd1da0a16c3b2dec6e410a18e (diff)
downloadpuppet-nodo-84cf4bab85b089b179ed84ca9ff1da83903f9303.tar.gz
puppet-nodo-84cf4bab85b089b179ed84ca9ff1da83903f9303.tar.bz2
May disable apt::proxy_client
-rw-r--r--manifests/subsystem/apt.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/subsystem/apt.pp b/manifests/subsystem/apt.pp
index 3bb60a4..d9c40fc 100644
--- a/manifests/subsystem/apt.pp
+++ b/manifests/subsystem/apt.pp
@@ -40,6 +40,10 @@ class nodo::subsystem::apt {
proxy => $apt_proxy,
port => hiera('nodo::subsystem::apt::proxy_port', '3142'),
}
+ } else {
+ class { 'apt::proxy_client':
+ ensure => absent,
+ }
}
$apt_include_sid = hiera('nodo::subsystem::apt::include_sid', false)