diff options
author | varac <varacanero@zeromail.org> | 2013-07-26 21:42:46 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2013-07-26 21:42:46 +0200 |
commit | 8904575c9da5d27acce3b725feaa56ef641c38a8 (patch) | |
tree | a33b386e6f1b65743975bb18bf8c7469c2d5ecf3 | |
parent | 47b85529cbff7be111e7bae53ff56921a5e5db6c (diff) |
server: added service, config fule mirror-dstdomain.acl.d/10-custom
-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 |