From 8904575c9da5d27acce3b725feaa56ef641c38a8 Mon Sep 17 00:00:00 2001 From: varac Date: Fri, 26 Jul 2013 21:42:46 +0200 Subject: server: added service, config fule mirror-dstdomain.acl.d/10-custom --- manifests/server.pp | 12 ++++++++++++ mirror-dstdomain.acl.d/10-custom | 1 + 2 files changed, 13 insertions(+) create mode 100644 mirror-dstdomain.acl.d/10-custom 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 -- cgit v1.2.3