diff options
-rw-r--r-- | manifests/server.pp | 12 | ||||
-rw-r--r-- | mirror-dstdomain.acl.d/10-custom | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/manifests/server.pp b/manifests/server.pp index 7dbd705..0e0083f 100644 --- a/manifests/server.pp +++ b/manifests/server.pp @@ -2,4 +2,16 @@ class squid_deb_proxy::server { package { 'squid-deb-proxy': ensure => installed, } + + service { 'squid-deb-proxy': + ensure => running, + 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/10-custom', + 'puppet:///modules/squid_deb_proxy/mirror-dstdomain.acl.d/10-custom' ], + notify => Service[ 'squid-deb-proxy' ], + require => Package[ 'squid-deb-proxy' ], + } } diff --git a/mirror-dstdomain.acl.d/10-custom b/mirror-dstdomain.acl.d/10-custom new file mode 100644 index 0000000..d4058b8 --- /dev/null +++ b/mirror-dstdomain.acl.d/10-custom @@ -0,0 +1 @@ +# managed by puppet |