added correct source
authormh <mh@immerda.ch>
Fri, 4 Apr 2008 19:07:41 +0000 (19:07 +0000)
committermh <mh@immerda.ch>
Fri, 4 Apr 2008 19:07:41 +0000 (19:07 +0000)
manifests/init.pp

index 8320f56..c3dd52d 100644 (file)
@@ -21,11 +21,13 @@ class squid {
 
 }
 
-define squid::squid_config ( $source ) {
+define squid::squid_config () {
     file {
         "/etc/squid/squid.conf":
         ensure => file, owner => root, group => root, mode => 644,
-        source => "puppet://$servername/${source}",
+        source => [ "puppet://$servername/files/squid/${fqdn}/squid.config",
+                    "puppet://$servername/files/squid/squid.config",
+                    "puppet://$servername/squid/squid.config" ],
         notify => Service[squid],
     }
 }