summaryrefslogtreecommitdiff
path: root/puppet/modules/squid_deb_proxy/manifests/client.pp
blob: 049f740a50dc717f4f44b0ea443e54d17827f25b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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',
  }
}