diff options
-rw-r--r-- | README.md | 8 | ||||
-rw-r--r-- | manifests/client.pp | 8 | ||||
-rw-r--r-- | manifests/server.pp | 6 |
3 files changed, 7 insertions, 15 deletions
@@ -5,10 +5,4 @@ Debian Support ============== * As of 2013-07, squid-deb-proxy just arrived in jessie, so you need to - configure apt to use jessie. - -Issues -====== - -* After restarting the squid-deb-proxy service, it won't be announced - with avahi as a ipv4 service, only on ipv6, until avahi-daemon is restarted. + configure apt to use jessie. diff --git a/manifests/client.pp b/manifests/client.pp index a247a45..324544c 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -2,12 +2,4 @@ class squid_deb_proxy::client { package { 'squid-deb-proxy-client': ensure => installed, } - - file {'/etc/squid-deb-proxy/mirror-dstdomain.acl.d/20-custom': - source => [ 'puppet:///modules/site_squid_deb_proxy/mirror-dstdomain.acl.d/20-custom', - 'puppet:///modules/squid_deb_proxy/mirror-dstdomain.acl.d/20-custom' ], - notify => Service[ 'squid-deb-proxy' ], - require => Package[ 'squid-deb-proxy' ], - } - } diff --git a/manifests/server.pp b/manifests/server.pp index b0148f2..62d41c8 100644 --- a/manifests/server.pp +++ b/manifests/server.pp @@ -9,4 +9,10 @@ class squid_deb_proxy::server { require => Package[ 'squid-deb-proxy' ], } + file {'/etc/squid-deb-proxy/mirror-dstdomain.acl.d/20-custom': + source => [ 'puppet:///modules/site_squid_deb_proxy/mirror-dstdomain.acl.d/20-custom', + 'puppet:///modules/squid_deb_proxy/mirror-dstdomain.acl.d/20-custom' ], + notify => Service[ 'squid-deb-proxy' ], + require => Package[ 'squid-deb-proxy' ], + } } |