summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-07-30 23:02:38 +0200
committervarac <varacanero@zeromail.org>2013-07-30 23:02:38 +0200
commita36bdb923c9074fa3a1d6af373f1b2f690293b5b (patch)
tree3ab6278e92750bb5475de2105f30822da13167dc
parent3caa7aedd7e6b1219d50115e0fb93b6a227b5130 (diff)
moved mirror-dstdomain.acl.d/20-custom deploy from server to client, updated readme
-rw-r--r--README.md8
-rw-r--r--manifests/client.pp8
-rw-r--r--manifests/server.pp6
3 files changed, 15 insertions, 7 deletions
diff --git a/README.md b/README.md
index c183c82..cd28a7e 100644
--- a/README.md
+++ b/README.md
@@ -5,4 +5,10 @@ Debian Support
==============
* As of 2013-07, squid-deb-proxy just arrived in jessie, so you need to
- configure apt to use jessie.
+ 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.
diff --git a/manifests/client.pp b/manifests/client.pp
index 324544c..a247a45 100644
--- a/manifests/client.pp
+++ b/manifests/client.pp
@@ -2,4 +2,12 @@ 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 62d41c8..b0148f2 100644
--- a/manifests/server.pp
+++ b/manifests/server.pp
@@ -9,10 +9,4 @@ 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' ],
- }
}