75ce150f9e1830a462d8fa782a13f868a56a7724
[puppet_squid_deb_proxy.git] / manifests / server.pp
1 class squid_deb_proxy::server {
2   package { 'squid-deb-proxy':
3     ensure => installed,
4   }
5
6   service { 'squid-deb-proxy':
7     ensure  => running,
8     require => Package[ 'squid-deb-proxy' ],
9   }
10
11   file {'/etc/squid-deb-proxy/mirror-dstdomain.acl.d/20-custom':
12     source  => [ 'puppet:///modules/site_squid_deb_proxy/mirror-dstdomain.acl.d/20-custom',
13       'puppet:///modules/squid_deb_proxy/mirror-dstdomain.acl.d/20-custom' ],
14     notify  => Service[ 'squid-deb-proxy' ],
15     require => Package[ 'squid-deb-proxy' ],
16   }
17 }