summaryrefslogtreecommitdiff
path: root/manifests/centos.pp
blob: ef1a09fff43b12ead8c242abcafcf1b57dd98010 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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';
    }
}