server: added service, config fule mirror-dstdomain.acl.d/10-custom
authorvarac <varacanero@zeromail.org>
Fri, 26 Jul 2013 19:42:46 +0000 (21:42 +0200)
committervarac <varacanero@zeromail.org>
Fri, 26 Jul 2013 19:42:46 +0000 (21:42 +0200)
manifests/server.pp
mirror-dstdomain.acl.d/10-custom [new file with mode: 0644]

index 7dbd705..0e0083f 100644 (file)
@@ -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 (file)
index 0000000..d4058b8
--- /dev/null
@@ -0,0 +1 @@
+# managed by puppet