Class squid3::squid3
In: /modules/squid3/manifests/init.pp
Parent:

Squid 3.x proxy server.

Sample Usage :

    include squid3

    class { 'squid3':
        acl => [
            'de myip 192.168.1.1',
            'fr myip 192.168.1.2',
            'office src 10.0.0.0/24',
        ],
        http_access => [
            'allow office',
        ],
        cache => [ 'deny all' ],
        via => 'off',
        tcp_outgoing_address => [
            '192.168.1.1 country_de',
            '192.168.1.2 country_fr',
        ],
        server_persistent_connections => 'off',
    }

Resources

Resources

File["/etc/squid/squid.conf"]
   require => Package[$rpmname]
   notify => Service["squid"]
   content => template("squid3/squid.conf.erb")
Package[$rpmname]
   ensure => installed
Service["squid"]
   require => Package[$rpmname]
   enable => true
   ensure => running
   restart => "/sbin/service squid reload"
   hasstatus => true

[Validate]