summaryrefslogtreecommitdiff
path: root/manifests/client.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/client.pp')
-rw-r--r--manifests/client.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/client.pp b/manifests/client.pp
index 324544c..049f740 100644
--- a/manifests/client.pp
+++ b/manifests/client.pp
@@ -1,5 +1,16 @@
+# install squid-deb-proxy-client package
class squid_deb_proxy::client {
package { 'squid-deb-proxy-client':
ensure => installed,
+ } ->
+
+ # ship newer client discover script than includes in squid-deb-proxy-client
+ # v. 0.8.13 to fix error messages being sent to stdout instead of stderr,
+ # see https://bugs.launchpad.net/ubuntu/+source/squid-deb-proxy/+bug/1505670
+ file { '/usr/share/squid-deb-proxy-client/apt-avahi-discover':
+ source => 'puppet:///modules/squid_deb_proxy/client/apt-avahi-discover',
+ mode => '0755',
+ owner => 'root',
+ group => 'root',
}
}