This file is indexed.

/etc/cfengine/debian-edu/cf.squid is in debian-edu-config 1.702.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
links:
	# Enforce proxy on networked installs
	debian.!standalone::
                /etc/iceweasel/pref/debian-edu-networked.js ->
                /usr/share/debian-edu-config/iceweacel-networked-prefs.js nofile=force

# Configure squid.
#  - Add new access control list schoolnet.
#  - Grant access to this list.
#  - Adjust cache size to fit size of /var/spool/squid.
#  - Appends .intern to hostnames without any dots in them.

editfiles:

   debian.server::

    { /etc/squid/squid.conf

      LocateLineMatching "# INSERT YOUR OWN RULE\(S\) HERE TO ALLOW ACCESS FROM YOUR CLIENTS"
      IncrementPointer   "2"
      BeginGroupIfNoMatch "http_access allow localnet"
	IncrementPointer "-1"
	InsertLine "http_access allow localnet"
      EndGroup

      # Cache larger files to cache more debian packages
      LocateLineMatching "# maximum_object_size 20480 KB"
      IncrementPointer   "1"
      BeginGroupIfNoMatch "maximum_object_size 153600 KB"
	IncrementPointer "-1"
	InsertLine "maximum_object_size 153600 KB"
      EndGroup

      LocateLineMatching "# append_domain .yourdomain.com"
      IncrementPointer   "1"
      BeginGroupIfNoMatch "append_domain .intern"
	IncrementPointer "-1"
	InsertLine "append_domain .intern"
      EndGroup

      # Workaround for bug #591839 in squid.
      ReplaceAll "Package\(\.gz\)" With "Packages(.gz)"
    }

shellcommands:

   debian.server::

    # Update Squid to use all the available space (aka 80% of the partition)
    "/usr/share/debian-edu-config/tools/squid-update-cachedir /etc/squid/squid.conf"

   debian.!server.!standalone.fifthpass::

    # Update /etc/environment and APT configurat using wpad.dat file
    # Do this on fifth pass, to make sure scripts like
    # debian-edu-pxeinstall (forthpass) do not get the wrong proxy
    # setting when installing a main-server and the webcache proxy
    # isn't up yet.
    "/usr/share/debian-edu-config/tools/update-proxy-from-wpad"

   debian.server.fifthpass::
    "/usr/share/debian-edu-config/tools/update-proxy-from-wpad file\:///etc/debian-edu/www/wpad.dat"