summaryrefslogtreecommitdiff
path: root/manifests/client.pp
diff options
context:
space:
mode:
authorMicah <micah@leap.se>2016-05-24 10:19:37 -0400
committerMicah <micah@leap.se>2016-05-24 10:19:37 -0400
commita05b4b033f8ef74b38df962f23465110fa9a95d1 (patch)
treefb80329e84a49dc5c9f0b78c8347c4c08eac1140 /manifests/client.pp
Squashed 'puppet/modules/squid_deb_proxy/' content from commit 08bfacc
git-subtree-dir: puppet/modules/squid_deb_proxy git-subtree-split: 08bfaccaea01fd2d334946428504e71a51748e3d
Diffstat (limited to 'manifests/client.pp')
-rw-r--r--manifests/client.pp16
1 files changed, 16 insertions, 0 deletions
diff --git a/manifests/client.pp b/manifests/client.pp
new file mode 100644
index 00000000..049f740a
--- /dev/null
+++ b/manifests/client.pp
@@ -0,0 +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',
+ }
+}