From a36bdb923c9074fa3a1d6af373f1b2f690293b5b Mon Sep 17 00:00:00 2001 From: varac Date: Tue, 30 Jul 2013 23:02:38 +0200 Subject: moved mirror-dstdomain.acl.d/20-custom deploy from server to client, updated readme --- manifests/client.pp | 8 ++++++++ manifests/server.pp | 6 ------ 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'manifests') 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' ], - } } -- cgit v1.2.3