summaryrefslogtreecommitdiff
path: root/manifests/centos.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/centos.pp')
-rw-r--r--manifests/centos.pp13
1 files changed, 13 insertions, 0 deletions
diff --git a/manifests/centos.pp b/manifests/centos.pp
new file mode 100644
index 0000000..ef1a09f
--- /dev/null
+++ b/manifests/centos.pp
@@ -0,0 +1,13 @@
+# rpms: we got the latest rpm from here:
+# http://people.redhat.com/mnagy/squid/
+# distro rpms seems to have problems...
+class squid::centos inherits squid::base {
+ file{'/etc/sysconfig/squid':
+ source => [ "puppet://$server/modules/site-squid/sysconfig/${fqdn}/squid",
+ "puppet://$server/modules/site-squid/sysconfig/squid",
+ "puppet://$server/modules/squid/sysconfig/squid" ],
+ require => Package['squid'],
+ notify => Service['squid'],
+ owner => root, group => 0, mode => '0644';
+ }
+}