from-scratch 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Berksfile.lock +11 -0
- data/chefignore +1 -0
- data/cookbooks/apt/CHANGELOG.md +248 -0
- data/cookbooks/apt/README.md +294 -0
- data/cookbooks/apt/attributes/default.rb +51 -0
- data/cookbooks/apt/files/default/15update-stamp +1 -0
- data/cookbooks/apt/files/default/apt-proxy-v2.conf +50 -0
- data/cookbooks/apt/libraries/helpers.rb +61 -0
- data/cookbooks/apt/libraries/matchers.rb +17 -0
- data/cookbooks/apt/libraries/network.rb +31 -0
- data/cookbooks/apt/metadata.json +1 -0
- data/cookbooks/apt/providers/preference.rb +84 -0
- data/cookbooks/apt/providers/repository.rb +246 -0
- data/cookbooks/apt/recipes/cacher-client.rb +83 -0
- data/cookbooks/apt/recipes/cacher-ng.rb +43 -0
- data/cookbooks/apt/recipes/default.rb +112 -0
- data/cookbooks/apt/recipes/unattended-upgrades.rb +47 -0
- data/cookbooks/apt/resources/preference.rb +37 -0
- data/cookbooks/apt/resources/repository.rb +60 -0
- data/cookbooks/apt/templates/debian-6.0/acng.conf.erb +173 -0
- data/cookbooks/apt/templates/default/01proxy.erb +9 -0
- data/cookbooks/apt/templates/default/10recommends.erb +3 -0
- data/cookbooks/apt/templates/default/20auto-upgrades.erb +2 -0
- data/cookbooks/apt/templates/default/50unattended-upgrades.erb +68 -0
- data/cookbooks/apt/templates/default/acng.conf.erb +275 -0
- data/cookbooks/apt/templates/default/unattended-upgrades.seed.erb +1 -0
- data/cookbooks/apt/templates/ubuntu-10.04/acng.conf.erb +269 -0
- data/cookbooks/build-essential/CHANGELOG.md +136 -0
- data/cookbooks/build-essential/README.md +108 -0
- data/cookbooks/build-essential/attributes/default.rb +20 -0
- data/cookbooks/build-essential/libraries/matchers.rb +5 -0
- data/cookbooks/build-essential/libraries/timing.rb +124 -0
- data/cookbooks/build-essential/libraries/xcode_command_line_tools.rb +210 -0
- data/cookbooks/build-essential/metadata.json +1 -0
- data/cookbooks/build-essential/recipes/_debian.rb +28 -0
- data/cookbooks/build-essential/recipes/_fedora.rb +32 -0
- data/cookbooks/build-essential/recipes/_freebsd.rb +24 -0
- data/cookbooks/build-essential/recipes/_mac_os_x.rb +22 -0
- data/cookbooks/build-essential/recipes/_omnios.rb +33 -0
- data/cookbooks/build-essential/recipes/_rhel.rb +36 -0
- data/cookbooks/build-essential/recipes/_smartos.rb +27 -0
- data/cookbooks/build-essential/recipes/_solaris2.rb +48 -0
- data/cookbooks/build-essential/recipes/_suse.rb +29 -0
- data/cookbooks/build-essential/recipes/default.rb +29 -0
- data/cookbooks/chef-sugar/CHANGELOG.md +159 -0
- data/cookbooks/chef-sugar/README.md +464 -0
- data/cookbooks/chef-sugar/metadata.json +1 -0
- data/cookbooks/chef-sugar/recipes/default.rb +34 -0
- data/cookbooks/openssl/CHANGELOG.md +30 -0
- data/cookbooks/openssl/README.md +115 -0
- data/cookbooks/openssl/attributes/default.rb +21 -0
- data/cookbooks/openssl/libraries/secure_password.rb +37 -0
- data/cookbooks/openssl/metadata.json +31 -0
- data/cookbooks/openssl/providers/x509.rb +94 -0
- data/cookbooks/openssl/recipes/default.rb +18 -0
- data/cookbooks/openssl/recipes/upgrade.rb +39 -0
- data/cookbooks/openssl/resources/x509.rb +16 -0
- data/cookbooks/postgresql/CHANGELOG.md +220 -0
- data/cookbooks/postgresql/README.md +464 -0
- data/cookbooks/postgresql/attributes/default.rb +549 -0
- data/cookbooks/postgresql/files/default/tests/minitest/apt_pgdg_postgresql_test.rb +39 -0
- data/cookbooks/postgresql/files/default/tests/minitest/default_test.rb +27 -0
- data/cookbooks/postgresql/files/default/tests/minitest/ruby_test.rb +28 -0
- data/cookbooks/postgresql/files/default/tests/minitest/server_test.rb +43 -0
- data/cookbooks/postgresql/files/default/tests/minitest/support/helpers.rb +29 -0
- data/cookbooks/postgresql/libraries/default.rb +377 -0
- data/cookbooks/postgresql/metadata.json +56 -0
- data/cookbooks/postgresql/recipes/apt_pgdg_postgresql.rb +18 -0
- data/cookbooks/postgresql/recipes/client.rb +32 -0
- data/cookbooks/postgresql/recipes/config_initdb.rb +148 -0
- data/cookbooks/postgresql/recipes/config_pgtune.rb +284 -0
- data/cookbooks/postgresql/recipes/contrib.rb +44 -0
- data/cookbooks/postgresql/recipes/default.rb +18 -0
- data/cookbooks/postgresql/recipes/ruby.rb +117 -0
- data/cookbooks/postgresql/recipes/server.rb +89 -0
- data/cookbooks/postgresql/recipes/server_conf.rb +34 -0
- data/cookbooks/postgresql/recipes/server_debian.rb +38 -0
- data/cookbooks/postgresql/recipes/server_redhat.rb +100 -0
- data/cookbooks/postgresql/recipes/yum_pgdg_postgresql.rb +45 -0
- data/cookbooks/postgresql/templates/default/pg_hba.conf.erb +35 -0
- data/cookbooks/postgresql/templates/default/pgsql.sysconfig.erb +4 -0
- data/cookbooks/postgresql/templates/default/postgresql.conf.erb +21 -0
- data/cookbooks/scratchify/.chef/knife.rb +2 -5
- data/cookbooks/scratchify/Berksfile +2 -1
- data/cookbooks/scratchify/Berksfile.lock +11 -0
- data/cookbooks/scratchify/README.md +34 -17
- data/cookbooks/scratchify/bin/scratchify +1 -1
- data/cookbooks/scratchify/chefignore +1 -0
- data/cookbooks/scratchify/from-scratch.gemspec +2 -5
- data/cookbooks/scratchify/lib/from-scratch.rb +25 -0
- data/cookbooks/scratchify/lib/{from/scratch → from-scratch}/version.rb +1 -1
- data/cookbooks/scratchify/metadata.json +2 -1
- data/cookbooks/scratchify/templates/node.json.erb +34 -0
- data/cookbooks/scratchify/templates/user.json.erb +6 -0
- data/lib/from-scratch.rb +2 -2
- data/lib/from-scratch/version.rb +1 -1
- data/templates/node.json.erb +6 -3
- metadata +85 -10
- data/cookbooks/scratchify/bin/console +0 -14
- data/cookbooks/scratchify/bin/setup +0 -7
- data/cookbooks/scratchify/data_bags/users/deploy.json +0 -6
- data/cookbooks/scratchify/environments/.gitkeep +0 -0
- data/cookbooks/scratchify/lib/from/scratch.rb +0 -31
- data/cookbooks/scratchify/lib/from/scratch/interviewer.rb +0 -35
- data/cookbooks/scratchify/nodes/normfood.ru.json +0 -75
- data/cookbooks/scratchify/roles/.gitkeep +0 -0
@@ -0,0 +1,9 @@
|
|
1
|
+
Acquire::http::Proxy "http://<%= @proxy %>:<%= @port %>";
|
2
|
+
<% if @proxy_ssl %>
|
3
|
+
Acquire::https::Proxy "http://<%= @proxy %>:<%= @port %>";
|
4
|
+
<% else %>
|
5
|
+
Acquire::https::Proxy "DIRECT";
|
6
|
+
<% end %>
|
7
|
+
<% @bypass.each do |bypass, type| %>
|
8
|
+
Acquire::<%= type %>::Proxy::<%= bypass %> "DIRECT";
|
9
|
+
<% end %>
|
@@ -0,0 +1,68 @@
|
|
1
|
+
// Automatically upgrade packages from these (origin:archive) pairs
|
2
|
+
Unattended-Upgrade::Allowed-Origins {
|
3
|
+
<% unless node['apt']['unattended_upgrades']['allowed_origins'].empty? -%>
|
4
|
+
<% node['apt']['unattended_upgrades']['allowed_origins'].each do |origin| -%>
|
5
|
+
"<%= origin %>";
|
6
|
+
<% end -%>
|
7
|
+
<% end -%>
|
8
|
+
};
|
9
|
+
|
10
|
+
|
11
|
+
// List of packages to not update
|
12
|
+
Unattended-Upgrade::Package-Blacklist {
|
13
|
+
<% unless node['apt']['unattended_upgrades']['package_blacklist'].empty? -%>
|
14
|
+
<% node['apt']['unattended_upgrades']['package_blacklist'].each do |package| -%>
|
15
|
+
"<%= package %>";
|
16
|
+
<% end -%>
|
17
|
+
<% end -%>
|
18
|
+
};
|
19
|
+
|
20
|
+
// This option allows you to control if on a unclean dpkg exit
|
21
|
+
// unattended-upgrades will automatically run
|
22
|
+
// dpkg --force-confold --configure -a
|
23
|
+
// The default is true, to ensure updates keep getting installed
|
24
|
+
Unattended-Upgrade::AutoFixInterruptedDpkg "<%= node['apt']['unattended_upgrades']['auto_fix_interrupted_dpkg'] ? 'true' : 'false' %>";
|
25
|
+
|
26
|
+
// Split the upgrade into the smallest possible chunks so that
|
27
|
+
// they can be interrupted with SIGUSR1. This makes the upgrade
|
28
|
+
// a bit slower but it has the benefit that shutdown while a upgrade
|
29
|
+
// is running is possible (with a small delay)
|
30
|
+
Unattended-Upgrade::MinimalSteps "<%= node['apt']['unattended_upgrades']['minimal_steps'] ? 'true' : 'false' %>";
|
31
|
+
|
32
|
+
// Install all unattended-upgrades when the machine is shuting down
|
33
|
+
// instead of doing it in the background while the machine is running
|
34
|
+
// This will (obviously) make shutdown slower
|
35
|
+
Unattended-Upgrade::InstallOnShutdown "<%= node['apt']['unattended_upgrades']['install_on_shutdown'] ? 'true' : 'false' %>";
|
36
|
+
|
37
|
+
// Send email to this address for problems or packages upgrades
|
38
|
+
// If empty or unset then no email is sent, make sure that you
|
39
|
+
// have a working mail setup on your system. A package that provides
|
40
|
+
// 'mailx' must be installed.
|
41
|
+
<% if node['apt']['unattended_upgrades']['mail'] -%>
|
42
|
+
Unattended-Upgrade::Mail "<%= node['apt']['unattended_upgrades']['mail'] %>";
|
43
|
+
<% end -%>
|
44
|
+
|
45
|
+
// Set this value to "true" to get emails only on errors. Default
|
46
|
+
// is to always send a mail if Unattended-Upgrade::Mail is set
|
47
|
+
Unattended-Upgrade::MailOnlyOnError "<%= node['apt']['unattended_upgrades']['mail_only_on_error'] ? 'true' : 'false' %>";
|
48
|
+
|
49
|
+
// Do automatic removal of new unused dependencies after the upgrade
|
50
|
+
// (equivalent to apt-get autoremove)
|
51
|
+
Unattended-Upgrade::Remove-Unused-Dependencies "<%= node['apt']['unattended_upgrades']['remove_unused_dependencies'] ? 'true' : 'false' %>";
|
52
|
+
|
53
|
+
// Automatically reboot *WITHOUT CONFIRMATION* if a
|
54
|
+
// the file /var/run/reboot-required is found after the upgrade
|
55
|
+
Unattended-Upgrade::Automatic-Reboot "<%= node['apt']['unattended_upgrades']['automatic_reboot'] ? 'true' : 'false' %>";
|
56
|
+
|
57
|
+
// If automatic reboot is enabled and needed, reboot at the specific
|
58
|
+
// time instead of immediately
|
59
|
+
// Default: "now"
|
60
|
+
<% if node['apt']['unattended_upgrades']['automatic_reboot'] -%>
|
61
|
+
Unattended-Upgrade::Automatic-Reboot-Time "<%= node['apt']['unattended_upgrades']['automatic_reboot_time'] %>";
|
62
|
+
<% end %>
|
63
|
+
|
64
|
+
// Use apt bandwidth limit feature, this example limits the download
|
65
|
+
// speed to 70kb/sec
|
66
|
+
<% if node['apt']['unattended_upgrades']['dl_limit'] -%>
|
67
|
+
Acquire::http::Dl-Limit "<%= node['apt']['unattended_upgrades']['dl_limit'] %>";
|
68
|
+
<% end -%>
|
@@ -0,0 +1,275 @@
|
|
1
|
+
# Letter case in directive names does not matter. Must be separated with colons.
|
2
|
+
# Valid boolean values are a zero number for false, non-zero numbers for true.
|
3
|
+
|
4
|
+
CacheDir: <%= node['apt']['cacher_dir'] %>
|
5
|
+
|
6
|
+
# set empty to disable logging
|
7
|
+
LogDir: /var/log/apt-cacher-ng
|
8
|
+
|
9
|
+
# place to look for additional configuration and resource files if they are not
|
10
|
+
# found in the configuration directory
|
11
|
+
# SupportDir: /usr/lib/apt-cacher-ng
|
12
|
+
|
13
|
+
# TCP (http) port
|
14
|
+
# Set to 9999 to emulate apt-proxy
|
15
|
+
Port:<%= node['apt']['cacher_port'] %>
|
16
|
+
|
17
|
+
# Addresses or hostnames to listen on. Multiple addresses must be separated by
|
18
|
+
# spaces. Each entry must be an exact local address which is associated with a
|
19
|
+
# local interface. DNS resolution is performed using getaddrinfo(3) for all
|
20
|
+
# available protocols (IPv4, IPv6, ...). Using a protocol specific format will
|
21
|
+
# create binding(s) only on protocol specific socket(s) (e.g. 0.0.0.0 will listen
|
22
|
+
# only to IPv4).
|
23
|
+
#
|
24
|
+
# Default: not set, will listen on all interfaces and protocols
|
25
|
+
#
|
26
|
+
# BindAddress: localhost 192.168.7.254 publicNameOnMainInterface
|
27
|
+
|
28
|
+
# The specification of another proxy which shall be used for downloads.
|
29
|
+
# Username and password are, and see manual for limitations.
|
30
|
+
#
|
31
|
+
#Proxy: http://www-proxy.example.net:80
|
32
|
+
#proxy: username:proxypassword@proxy.example.net:3128
|
33
|
+
|
34
|
+
# Repository remapping. See manual for details.
|
35
|
+
# In this example, some backends files might be generated during package
|
36
|
+
# installation using information collected on the system.
|
37
|
+
Remap-debrep: file:deb_mirror*.gz /debian ; file:backends_debian # Debian Archives
|
38
|
+
Remap-uburep: file:ubuntu_mirrors /ubuntu ; file:backends_ubuntu # Ubuntu Archives
|
39
|
+
Remap-debvol: file:debvol_mirror*.gz /debian-volatile ; file:backends_debvol # Debian Volatile Archives
|
40
|
+
Remap-cygwin: file:cygwin_mirrors /cygwin # ; file:backends_cygwin # incomplete, please create this file or specify preferred mirrors here
|
41
|
+
Remap-sfnet: file:sfnet_mirrors # ; file:backends_sfnet # incomplete, please create this file or specify preferred mirrors here
|
42
|
+
Remap-alxrep: file:archlx_mirrors /archlinux # ; file:backend_archlx # Arch Linux
|
43
|
+
Remap-fedora: file:fedora_mirrors # Fedora Linux
|
44
|
+
Remap-epel: file:epel_mirrors # Fedora EPEL
|
45
|
+
Remap-slrep: file:sl_mirrors # Scientific Linux
|
46
|
+
|
47
|
+
# This is usually not needed for security.debian.org because it's always the
|
48
|
+
# same DNS hostname. However, it might be enabled in order to use hooks,
|
49
|
+
# ForceManaged mode or special flags in this context.
|
50
|
+
# Remap-secdeb: security.debian.org
|
51
|
+
|
52
|
+
# Virtual page accessible in a web browser to see statistics and status
|
53
|
+
# information, i.e. under http://localhost:3142/acng-report.html
|
54
|
+
ReportPage: acng-report.html
|
55
|
+
|
56
|
+
# Socket file for accessing through local UNIX socket instead of TCP/IP. Can be
|
57
|
+
# used with inetd bridge or cron client.
|
58
|
+
# SocketPath:/var/run/apt-cacher-ng/socket
|
59
|
+
|
60
|
+
# Forces log file to be written to disk after every line when set to 1. Default
|
61
|
+
# is 0, buffers are flushed when the client disconnects.
|
62
|
+
#
|
63
|
+
# (technically, alias to the Debug option, see its documentation for details)
|
64
|
+
#
|
65
|
+
# UnbufferLogs: 0
|
66
|
+
|
67
|
+
# Set to 0 to store only type, time and transfer sizes.
|
68
|
+
# 1 -> client IP and relative local path are logged too
|
69
|
+
# VerboseLog: 1
|
70
|
+
|
71
|
+
# Don't detach from the console
|
72
|
+
# ForeGround: 0
|
73
|
+
|
74
|
+
# Store the pid of the daemon process therein
|
75
|
+
# PidFile: /var/run/apt-cacher-ng/pid
|
76
|
+
|
77
|
+
# Forbid outgoing connections, work around them or respond with 503 error
|
78
|
+
# offlinemode:0
|
79
|
+
|
80
|
+
# Forbid all downloads that don't run through preconfigured backends (.where)
|
81
|
+
#ForceManaged: 0
|
82
|
+
|
83
|
+
# Days before considering an unreferenced file expired (to be deleted).
|
84
|
+
# Warning: if the value is set too low and particular index files are not
|
85
|
+
# available for some days (mirror downtime) there is a risk of deletion of
|
86
|
+
# still useful package files.
|
87
|
+
ExTreshold: 4
|
88
|
+
|
89
|
+
# Stop expiration when a critical problem appeared. Currently only failed
|
90
|
+
# refresh of an index file is considered as critical.
|
91
|
+
#
|
92
|
+
# WARNING: don't touch this option or set to zero.
|
93
|
+
# Anything else is DANGEROUS and may cause data loss.
|
94
|
+
#
|
95
|
+
# ExAbortOnProblems: 1
|
96
|
+
|
97
|
+
# Replace some Windows/DOS-FS incompatible chars when storing
|
98
|
+
# StupidFs: 0
|
99
|
+
|
100
|
+
# Experimental feature for apt-listbugs: pass-through SOAP requests and
|
101
|
+
# responses to/from bugs.debian.org. If not set, default is true if
|
102
|
+
# ForceManaged is enabled and false otherwise.
|
103
|
+
# ForwardBtsSoap: 1
|
104
|
+
|
105
|
+
# The daemon has a small cache for DNS data, to speed up resolution. The
|
106
|
+
# expiration time of the DNS entries can be configured in seconds.
|
107
|
+
# DnsCacheSeconds: 3600
|
108
|
+
|
109
|
+
# Don't touch the following values without good consideration!
|
110
|
+
#
|
111
|
+
# Max. count of connection threads kept ready (for faster response in the
|
112
|
+
# future). Should be a sane value between 0 and average number of connections,
|
113
|
+
# and depend on the amount of spare RAM.
|
114
|
+
# MaxStandbyConThreads: 8
|
115
|
+
#
|
116
|
+
# Hard limit of active thread count for incoming connections, i.e. operation
|
117
|
+
# is refused when this value is reached (below zero = unlimited).
|
118
|
+
# MaxConThreads: -1
|
119
|
+
#
|
120
|
+
# Pigeonholing files with regular expressions (static/volatile). Can be
|
121
|
+
# overriden here but not should not be done permanently because future update
|
122
|
+
# of default settings would not be applied later.
|
123
|
+
# VfilePattern = (^|.*?/)(Index|Packages(\.gz|\.bz2|\.lzma|\.xz)?|InRelease|Release|Release\.gpg|Sources(\.gz|\.bz2|\.lzma|\.xz)?|release|index\.db-.*\.gz|Contents-[^/]*(\.gz|\.bz2|\.lzma|\.xz)?|pkglist[^/]*\.bz2|rclist[^/]*\.bz2|/meta-release[^/]*|Translation[^/]*(\.gz|\.bz2|\.lzma|\.xz)?|MD5SUMS|SHA1SUMS|((setup|setup-legacy)(\.ini|\.bz2|\.hint)(\.sig)?)|mirrors\.lst|repo(index|md)\.xml(\.asc|\.key)?|directory\.yast|products|content(\.asc|\.key)?|media|filelists\.xml\.gz|filelists\.sqlite\.bz2|repomd\.xml|packages\.[a-zA-Z][a-zA-Z]\.gz|info\.txt|license\.tar\.gz|license\.zip|.*\.db(\.tar\.gz)?|.*\.files\.tar\.gz|.*\.abs\.tar\.gz|metalink\?repo|.*prestodelta\.xml\.gz)$|/dists/.*/installer-[^/]+/[^0-9][^/]+/images/.*
|
124
|
+
# PfilePattern = .*(\.d?deb|\.rpm|\.dsc|\.tar(\.gz|\.bz2|\.lzma|\.xz)(\.gpg)?|\.diff(\.gz|\.bz2|\.lzma|\.xz)|\.jigdo|\.template|changelog|copyright|\.udeb|\.debdelta|\.diff/.*\.gz|(Devel)?ReleaseAnnouncement(\?.*)?|[a-f0-9]+-(susedata|updateinfo|primary|deltainfo).xml.gz|fonts/(final/)?[a-z]+32.exe(\?download.*)?|/dists/.*/installer-[^/]+/[0-9][^/]+/images/.*)$
|
125
|
+
# Whitelist for expiration, file types not to be removed even when being
|
126
|
+
# unreferenced. Default: many parts from VfilePattern where no parent index
|
127
|
+
# exists or might be unknown.
|
128
|
+
# WfilePattern = (^|.*?/)(Release|InRelease|Release\.gpg|(Packages|Sources)(\.gz|\.bz2|\.lzma|\.xz)?|Translation[^/]*(\.gz|\.bz2|\.lzma|\.xz)?|MD5SUMS|SHA1SUMS|.*\.xml|.*\.db\.tar\.gz|.*\.files\.tar\.gz|.*\.abs\.tar\.gz|[a-z]+32.exe)$|/dists/.*/installer-.*/images/.*
|
129
|
+
|
130
|
+
# Higher modes only working with the debug version
|
131
|
+
# Warning, writes a lot into apt-cacher.err logfile
|
132
|
+
# Value overwrites UnbufferLogs setting (aliased)
|
133
|
+
# Debug:3
|
134
|
+
|
135
|
+
# Usually, general purpose proxies like Squid expose the IP address of the
|
136
|
+
# client user to the remote server using the X-Forwarded-For HTTP header. This
|
137
|
+
# behaviour can be optionally turned on with the Expose-Origin option.
|
138
|
+
# ExposeOrigin: 0
|
139
|
+
|
140
|
+
# When logging the originating IP address, trust the information supplied by
|
141
|
+
# the client in the X-Forwarded-For header.
|
142
|
+
# LogSubmittedOrigin: 0
|
143
|
+
|
144
|
+
# The version string reported to the peer, to be displayed as HTTP client (and
|
145
|
+
# version) in the logs of the mirror.
|
146
|
+
# WARNING: some archives use this header to detect/guess capabilities of the
|
147
|
+
# client (i.e. redirection support) and change the behaviour accordingly, while
|
148
|
+
# ACNG might not support the expected features. Expect side effects.
|
149
|
+
#
|
150
|
+
# UserAgent: Yet Another HTTP Client/1.2.3p4
|
151
|
+
|
152
|
+
# In some cases the Import and Expiration tasks might create fresh volatile
|
153
|
+
# data for internal use by reconstructing them using patch files. This
|
154
|
+
# by-product might be recompressed with bzip2 and with some luck the resulting
|
155
|
+
# file becomes identical to the *.bz2 file on the server, usable for APT
|
156
|
+
# clients trying to fetch the full .bz2 compressed version. Injection of the
|
157
|
+
# generated files into the cache has however a disadvantage on underpowered
|
158
|
+
# servers: bzip2 compression can create high load on the server system and the
|
159
|
+
# visible download of the busy .bz2 files also becomes slower.
|
160
|
+
#
|
161
|
+
# RecompBz2: 0
|
162
|
+
|
163
|
+
# Network timeout for outgoing connections.
|
164
|
+
# NetworkTimeout: 60
|
165
|
+
|
166
|
+
# Sometimes it makes sense to not store the data in cache and just return the
|
167
|
+
# package data to client as it comes in. DontCache parameters can enable this
|
168
|
+
# behaviour for certain URL types. The tokens are extended regular expressions
|
169
|
+
# that URLs are matched against.
|
170
|
+
#
|
171
|
+
# DontCacheRequested is applied to the URL as it comes in from the client.
|
172
|
+
# Example: exclude packages built with kernel-package for x86
|
173
|
+
# DontCacheRequested: linux-.*_10\...\.Custo._i386
|
174
|
+
# Example usecase: exclude popular private IP ranges from caching
|
175
|
+
# DontCacheRequested: 192.168.0 ^10\..* 172.30
|
176
|
+
#
|
177
|
+
# DontCacheResolved is applied to URLs after mapping to the target server. If
|
178
|
+
# multiple backend servers are specified then it's only matched against the
|
179
|
+
# download link for the FIRST possible source (due to implementation limits).
|
180
|
+
# Example usecase: all Ubuntu stuff comes from a local mirror (specified as
|
181
|
+
# backend), don't cache it again:
|
182
|
+
# DontCacheResolved: ubuntumirror.local.net
|
183
|
+
#
|
184
|
+
# DontCache directive sets (overrides) both, DontCacheResolved and
|
185
|
+
# DontCacheRequested. Provided for convenience, see those directives for
|
186
|
+
# details.
|
187
|
+
#
|
188
|
+
# Default permission set of freshly created files and directories, as octal
|
189
|
+
# numbers (see chmod(1) for details).
|
190
|
+
# Can by limited by the umask value (see umask(2) for details) if it's set in
|
191
|
+
# the environment of the starting shell, e.g. in apt-cacher-ng init script or
|
192
|
+
# in its configuration file.
|
193
|
+
# DirPerms: 00755
|
194
|
+
# FilePerms: 00664
|
195
|
+
#
|
196
|
+
#
|
197
|
+
# It's possible to use use apt-cacher-ng as a regular web server with limited
|
198
|
+
# feature set, i.e.
|
199
|
+
# including directory browsing and download of any file;
|
200
|
+
# excluding sorting, mime types/encodings, CGI execution, index page
|
201
|
+
# redirection and other funny things.
|
202
|
+
# To get this behavior, mappings between virtual directories and real
|
203
|
+
# directories on the server must be defined with the LocalDirs directive.
|
204
|
+
# Virtual and real dirs are separated by spaces, multiple pairs are separated
|
205
|
+
# by semi-colons. Real directories must be absolute paths.
|
206
|
+
# NOTE: Since the names of that key directories share the same namespace as
|
207
|
+
# repository names (see Remap-...) it's administrators job to avoid such
|
208
|
+
# collisions on them (unless created deliberately).
|
209
|
+
#
|
210
|
+
# LocalDirs: woo /data/debarchive/woody ; hamm /data/debarchive/hamm
|
211
|
+
|
212
|
+
# Precache a set of files referenced by specified index files. This can be used
|
213
|
+
# to create a partial mirror usable for offline work. There are certain limits
|
214
|
+
# and restrictions on the path specification, see manual for details. A list of
|
215
|
+
# (maybe) relevant index files could be retrieved via
|
216
|
+
# "apt-get --print-uris update" on a client machine.
|
217
|
+
#
|
218
|
+
# PrecacheFor: debrep/dists/unstable/*/source/Sources* debrep/dists/unstable/*/binary-amd64/Packages*
|
219
|
+
|
220
|
+
# Arbitrary set of data to append to request headers sent over the wire. Should
|
221
|
+
# be a well formated HTTP headers part including newlines (DOS style) which
|
222
|
+
# can be entered as escape sequences (\r\n).
|
223
|
+
# RequestAppendix: X-Tracking-Choice: do-not-track\r\n
|
224
|
+
|
225
|
+
# Specifies the IP protocol families to use for remote connections. Order does
|
226
|
+
# matter, first specified are considered first. Possible combinations:
|
227
|
+
# v6 v4
|
228
|
+
# v4 v6
|
229
|
+
# v6
|
230
|
+
# v4
|
231
|
+
# (empty or not set: use system default)
|
232
|
+
#
|
233
|
+
# ConnectProto: v6 v4
|
234
|
+
|
235
|
+
# Regular expiration algorithm finds package files which are no longer listed
|
236
|
+
# in any index file and removes them of them after a safety period.
|
237
|
+
# This option allows to keep more versions of a package in the cache after
|
238
|
+
# safety period is over.
|
239
|
+
# KeepExtraVersions: 1
|
240
|
+
|
241
|
+
# Optionally uses TCP access control provided by libwrap, see hosts_access(5)
|
242
|
+
# for details. Daemon name is apt-cacher-ng. Default if not set: decided on
|
243
|
+
# startup by looking for explicit mentioning of apt-cacher-ng in
|
244
|
+
# /etc/hosts.allow or /etc/hosts.deny files.
|
245
|
+
# UseWrap: 0
|
246
|
+
|
247
|
+
# If many machines from the same local network attempt to update index files
|
248
|
+
# (apt-get update) at nearly the same time, the known state of these index file
|
249
|
+
# is temporarily frozen and multiple requests receive the cached response
|
250
|
+
# without contacting the server. This parameter (in seconds) specifies the
|
251
|
+
# length of this period before the files are considered outdated.
|
252
|
+
# Setting it too low transfers more data and increases remote server load,
|
253
|
+
# setting it too high (more than a couple of minutes) increases the risk of
|
254
|
+
# delivering inconsistent responses to the clients.
|
255
|
+
# FreshIndexMaxAge: 27
|
256
|
+
|
257
|
+
# Usually the users are not allowed to specify custom TCP ports of remote
|
258
|
+
# mirrors in the requests, only the default HTTP port can be used (instead,
|
259
|
+
# proxy administrator can create Remap- rules with custom ports). This
|
260
|
+
# restriction can be disabled by specifying a list of allowed ports or 0 for
|
261
|
+
# any port.
|
262
|
+
#
|
263
|
+
# AllowUserPorts: 80
|
264
|
+
|
265
|
+
# Normally the HTTP redirection responses are forwarded to the original caller
|
266
|
+
# (i.e. APT) which starts a new download attempt from the new URL. This
|
267
|
+
# solution is ok for client configurations with proxy mode but doesn't work
|
268
|
+
# well with configurations using URL prefixes. To work around this the server
|
269
|
+
# can restart its own download with another URL. However, this might be used to
|
270
|
+
# circumvent download source policies by malicious users.
|
271
|
+
# The RedirMax option specifies how many such redirects the server should
|
272
|
+
# follow per request, 0 disables the internal redirection. If not set,
|
273
|
+
# default value is 0 if ForceManaged is used and 5 otherwise.
|
274
|
+
#
|
275
|
+
# RedirMax: 5
|
@@ -0,0 +1 @@
|
|
1
|
+
unattended-upgrades unattended-upgrades/enable_auto_updates boolean <%= node['apt']['unattended_upgrades']['enable'] ? 'true' : 'false' %>
|
@@ -0,0 +1,269 @@
|
|
1
|
+
# Letter case in directive names does not matter. Must be separated with colons.
|
2
|
+
# Valid boolean values are a zero number for false, non-zero numbers for true.
|
3
|
+
|
4
|
+
CacheDir: <%= node['apt']['cacher_dir'] %>
|
5
|
+
|
6
|
+
# set empty to disable logging
|
7
|
+
LogDir: /var/log/apt-cacher-ng
|
8
|
+
|
9
|
+
# place to look for additional configuration and resource files if they are not
|
10
|
+
# found in the configuration directory
|
11
|
+
# SupportDir: /usr/lib/apt-cacher-ng
|
12
|
+
|
13
|
+
# TCP (http) port
|
14
|
+
# Set to 9999 to emulate apt-proxy
|
15
|
+
Port:<%= node['apt']['cacher_port'] %>
|
16
|
+
|
17
|
+
# Addresses or hostnames to listen on. Multiple addresses must be separated by
|
18
|
+
# spaces. Each entry must be an exact local address which is associated with a
|
19
|
+
# local interface. DNS resolution is performed using getaddrinfo(3) for all
|
20
|
+
# available protocols (IPv4, IPv6, ...). Using a protocol specific format will
|
21
|
+
# create binding(s) only on protocol specific socket(s) (e.g. 0.0.0.0 will listen
|
22
|
+
# only to IPv4).
|
23
|
+
#
|
24
|
+
# Default: not set, will listen on all interfaces and protocols
|
25
|
+
#
|
26
|
+
# BindAddress: localhost 192.168.7.254 publicNameOnMainInterface
|
27
|
+
|
28
|
+
# The specification of another proxy which shall be used for downloads.
|
29
|
+
# Username and password are, and see manual for limitations.
|
30
|
+
#
|
31
|
+
#Proxy: http://www-proxy.example.net:80
|
32
|
+
#proxy: username:proxypassword@proxy.example.net:3128
|
33
|
+
|
34
|
+
# Repository remapping. See manual for details.
|
35
|
+
# In this example, some backends files might be generated during package
|
36
|
+
# installation using information collected on the system.
|
37
|
+
Remap-debrep: file:deb_mirror*.gz /debian ; file:backends_debian # Debian Archives
|
38
|
+
Remap-uburep: file:ubuntu_mirrors /ubuntu ; file:backends_ubuntu # Ubuntu Archives
|
39
|
+
Remap-debvol: file:debvol_mirror*.gz /debian-volatile ; file:backends_debvol # Debian Volatile Archives
|
40
|
+
|
41
|
+
# This is usually not needed for security.debian.org because it's always the
|
42
|
+
# same DNS hostname. However, it might be enabled in order to use hooks,
|
43
|
+
# ForceManaged mode or special flags in this context.
|
44
|
+
# Remap-secdeb: security.debian.org
|
45
|
+
|
46
|
+
# Virtual page accessible in a web browser to see statistics and status
|
47
|
+
# information, i.e. under http://localhost:3142/acng-report.html
|
48
|
+
ReportPage: acng-report.html
|
49
|
+
|
50
|
+
# Socket file for accessing through local UNIX socket instead of TCP/IP. Can be
|
51
|
+
# used with inetd bridge or cron client.
|
52
|
+
# SocketPath:/var/run/apt-cacher-ng/socket
|
53
|
+
|
54
|
+
# Forces log file to be written to disk after every line when set to 1. Default
|
55
|
+
# is 0, buffers are flushed when the client disconnects.
|
56
|
+
#
|
57
|
+
# (technically, alias to the Debug option, see its documentation for details)
|
58
|
+
#
|
59
|
+
# UnbufferLogs: 0
|
60
|
+
|
61
|
+
# Set to 0 to store only type, time and transfer sizes.
|
62
|
+
# 1 -> client IP and relative local path are logged too
|
63
|
+
# VerboseLog: 1
|
64
|
+
|
65
|
+
# Don't detach from the console
|
66
|
+
# ForeGround: 0
|
67
|
+
|
68
|
+
# Store the pid of the daemon process therein
|
69
|
+
# PidFile: /var/run/apt-cacher-ng/pid
|
70
|
+
|
71
|
+
# Forbid outgoing connections, work around them or respond with 503 error
|
72
|
+
# offlinemode:0
|
73
|
+
|
74
|
+
# Forbid all downloads that don't run through preconfigured backends (.where)
|
75
|
+
#ForceManaged: 0
|
76
|
+
|
77
|
+
# Days before considering an unreferenced file expired (to be deleted).
|
78
|
+
# Warning: if the value is set too low and particular index files are not
|
79
|
+
# available for some days (mirror downtime) there is a risk of deletion of
|
80
|
+
# still useful package files.
|
81
|
+
ExTreshold: 4
|
82
|
+
|
83
|
+
# Stop expiration when a critical problem appeared. Currently only failed
|
84
|
+
# refresh of an index file is considered as critical.
|
85
|
+
#
|
86
|
+
# WARNING: don't touch this option or set to zero.
|
87
|
+
# Anything else is DANGEROUS and may cause data loss.
|
88
|
+
#
|
89
|
+
# ExAbortOnProblems: 1
|
90
|
+
|
91
|
+
# Replace some Windows/DOS-FS incompatible chars when storing
|
92
|
+
# StupidFs: 0
|
93
|
+
|
94
|
+
# Experimental feature for apt-listbugs: pass-through SOAP requests and
|
95
|
+
# responses to/from bugs.debian.org. If not set, default is true if
|
96
|
+
# ForceManaged is enabled and false otherwise.
|
97
|
+
# ForwardBtsSoap: 1
|
98
|
+
|
99
|
+
# The daemon has a small cache for DNS data, to speed up resolution. The
|
100
|
+
# expiration time of the DNS entries can be configured in seconds.
|
101
|
+
# DnsCacheSeconds: 3600
|
102
|
+
|
103
|
+
# Don't touch the following values without good consideration!
|
104
|
+
#
|
105
|
+
# Max. count of connection threads kept ready (for faster response in the
|
106
|
+
# future). Should be a sane value between 0 and average number of connections,
|
107
|
+
# and depend on the amount of spare RAM.
|
108
|
+
# MaxStandbyConThreads: 8
|
109
|
+
#
|
110
|
+
# Hard limit of active thread count for incoming connections, i.e. operation
|
111
|
+
# is refused when this value is reached (below zero = unlimited).
|
112
|
+
# MaxConThreads: -1
|
113
|
+
#
|
114
|
+
# Pigeonholing files with regular expressions (static/volatile). Can be
|
115
|
+
# overriden here but not should not be done permanently because future update
|
116
|
+
# of default settings would not be applied later.
|
117
|
+
# VfilePattern = (^|.*?/)(Index|Packages(\.gz|\.bz2|\.lzma|\.xz)?|InRelease|Release|Release\.gpg|Sources(\.gz|\.bz2|\.lzma|\.xz)?|release|index\.db-.*\.gz|Contents-[^/]*(\.gz|\.bz2|\.lzma|\.xz)?|pkglist[^/]*\.bz2|rclist[^/]*\.bz2|/meta-release[^/]*|Translation[^/]*(\.gz|\.bz2|\.lzma|\.xz)?|MD5SUMS|SHA1SUMS|((setup|setup-legacy)(\.ini|\.bz2|\.hint)(\.sig)?)|mirrors\.lst|repo(index|md)\.xml(\.asc|\.key)?|directory\.yast|products|content(\.asc|\.key)?|media|filelists\.xml\.gz|filelists\.sqlite\.bz2|repomd\.xml|packages\.[a-zA-Z][a-zA-Z]\.gz|info\.txt|license\.tar\.gz|license\.zip|.*\.db(\.tar\.gz)?|.*\.files\.tar\.gz|.*\.abs\.tar\.gz|metalink\?repo|.*prestodelta\.xml\.gz)$|/dists/.*/installer-[^/]+/[^0-9][^/]+/images/.*
|
118
|
+
# PfilePattern = .*(\.d?deb|\.rpm|\.dsc|\.tar(\.gz|\.bz2|\.lzma|\.xz)(\.gpg)?|\.diff(\.gz|\.bz2|\.lzma|\.xz)|\.jigdo|\.template|changelog|copyright|\.udeb|\.debdelta|\.diff/.*\.gz|(Devel)?ReleaseAnnouncement(\?.*)?|[a-f0-9]+-(susedata|updateinfo|primary|deltainfo).xml.gz|fonts/(final/)?[a-z]+32.exe(\?download.*)?|/dists/.*/installer-[^/]+/[0-9][^/]+/images/.*)$
|
119
|
+
# Whitelist for expiration, file types not to be removed even when being
|
120
|
+
# unreferenced. Default: many parts from VfilePattern where no parent index
|
121
|
+
# exists or might be unknown.
|
122
|
+
# WfilePattern = (^|.*?/)(Release|InRelease|Release\.gpg|(Packages|Sources)(\.gz|\.bz2|\.lzma|\.xz)?|Translation[^/]*(\.gz|\.bz2|\.lzma|\.xz)?|MD5SUMS|SHA1SUMS|.*\.xml|.*\.db\.tar\.gz|.*\.files\.tar\.gz|.*\.abs\.tar\.gz|[a-z]+32.exe)$|/dists/.*/installer-.*/images/.*
|
123
|
+
|
124
|
+
# Higher modes only working with the debug version
|
125
|
+
# Warning, writes a lot into apt-cacher.err logfile
|
126
|
+
# Value overwrites UnbufferLogs setting (aliased)
|
127
|
+
# Debug:3
|
128
|
+
|
129
|
+
# Usually, general purpose proxies like Squid expose the IP address of the
|
130
|
+
# client user to the remote server using the X-Forwarded-For HTTP header. This
|
131
|
+
# behaviour can be optionally turned on with the Expose-Origin option.
|
132
|
+
# ExposeOrigin: 0
|
133
|
+
|
134
|
+
# When logging the originating IP address, trust the information supplied by
|
135
|
+
# the client in the X-Forwarded-For header.
|
136
|
+
# LogSubmittedOrigin: 0
|
137
|
+
|
138
|
+
# The version string reported to the peer, to be displayed as HTTP client (and
|
139
|
+
# version) in the logs of the mirror.
|
140
|
+
# WARNING: some archives use this header to detect/guess capabilities of the
|
141
|
+
# client (i.e. redirection support) and change the behaviour accordingly, while
|
142
|
+
# ACNG might not support the expected features. Expect side effects.
|
143
|
+
#
|
144
|
+
# UserAgent: Yet Another HTTP Client/1.2.3p4
|
145
|
+
|
146
|
+
# In some cases the Import and Expiration tasks might create fresh volatile
|
147
|
+
# data for internal use by reconstructing them using patch files. This
|
148
|
+
# by-product might be recompressed with bzip2 and with some luck the resulting
|
149
|
+
# file becomes identical to the *.bz2 file on the server, usable for APT
|
150
|
+
# clients trying to fetch the full .bz2 compressed version. Injection of the
|
151
|
+
# generated files into the cache has however a disadvantage on underpowered
|
152
|
+
# servers: bzip2 compression can create high load on the server system and the
|
153
|
+
# visible download of the busy .bz2 files also becomes slower.
|
154
|
+
#
|
155
|
+
# RecompBz2: 0
|
156
|
+
|
157
|
+
# Network timeout for outgoing connections.
|
158
|
+
# NetworkTimeout: 60
|
159
|
+
|
160
|
+
# Sometimes it makes sense to not store the data in cache and just return the
|
161
|
+
# package data to client as it comes in. DontCache parameters can enable this
|
162
|
+
# behaviour for certain URL types. The tokens are extended regular expressions
|
163
|
+
# that URLs are matched against.
|
164
|
+
#
|
165
|
+
# DontCacheRequested is applied to the URL as it comes in from the client.
|
166
|
+
# Example: exclude packages built with kernel-package for x86
|
167
|
+
# DontCacheRequested: linux-.*_10\...\.Custo._i386
|
168
|
+
# Example usecase: exclude popular private IP ranges from caching
|
169
|
+
# DontCacheRequested: 192.168.0 ^10\..* 172.30
|
170
|
+
#
|
171
|
+
# DontCacheResolved is applied to URLs after mapping to the target server. If
|
172
|
+
# multiple backend servers are specified then it's only matched against the
|
173
|
+
# download link for the FIRST possible source (due to implementation limits).
|
174
|
+
# Example usecase: all Ubuntu stuff comes from a local mirror (specified as
|
175
|
+
# backend), don't cache it again:
|
176
|
+
# DontCacheResolved: ubuntumirror.local.net
|
177
|
+
#
|
178
|
+
# DontCache directive sets (overrides) both, DontCacheResolved and
|
179
|
+
# DontCacheRequested. Provided for convenience, see those directives for
|
180
|
+
# details.
|
181
|
+
#
|
182
|
+
# Default permission set of freshly created files and directories, as octal
|
183
|
+
# numbers (see chmod(1) for details).
|
184
|
+
# Can by limited by the umask value (see umask(2) for details) if it's set in
|
185
|
+
# the environment of the starting shell, e.g. in apt-cacher-ng init script or
|
186
|
+
# in its configuration file.
|
187
|
+
# DirPerms: 00755
|
188
|
+
# FilePerms: 00664
|
189
|
+
#
|
190
|
+
#
|
191
|
+
# It's possible to use use apt-cacher-ng as a regular web server with limited
|
192
|
+
# feature set, i.e.
|
193
|
+
# including directory browsing and download of any file;
|
194
|
+
# excluding sorting, mime types/encodings, CGI execution, index page
|
195
|
+
# redirection and other funny things.
|
196
|
+
# To get this behavior, mappings between virtual directories and real
|
197
|
+
# directories on the server must be defined with the LocalDirs directive.
|
198
|
+
# Virtual and real dirs are separated by spaces, multiple pairs are separated
|
199
|
+
# by semi-colons. Real directories must be absolute paths.
|
200
|
+
# NOTE: Since the names of that key directories share the same namespace as
|
201
|
+
# repository names (see Remap-...) it's administrators job to avoid such
|
202
|
+
# collisions on them (unless created deliberately).
|
203
|
+
#
|
204
|
+
# LocalDirs: woo /data/debarchive/woody ; hamm /data/debarchive/hamm
|
205
|
+
|
206
|
+
# Precache a set of files referenced by specified index files. This can be used
|
207
|
+
# to create a partial mirror usable for offline work. There are certain limits
|
208
|
+
# and restrictions on the path specification, see manual for details. A list of
|
209
|
+
# (maybe) relevant index files could be retrieved via
|
210
|
+
# "apt-get --print-uris update" on a client machine.
|
211
|
+
#
|
212
|
+
# PrecacheFor: debrep/dists/unstable/*/source/Sources* debrep/dists/unstable/*/binary-amd64/Packages*
|
213
|
+
|
214
|
+
# Arbitrary set of data to append to request headers sent over the wire. Should
|
215
|
+
# be a well formated HTTP headers part including newlines (DOS style) which
|
216
|
+
# can be entered as escape sequences (\r\n).
|
217
|
+
# RequestAppendix: X-Tracking-Choice: do-not-track\r\n
|
218
|
+
|
219
|
+
# Specifies the IP protocol families to use for remote connections. Order does
|
220
|
+
# matter, first specified are considered first. Possible combinations:
|
221
|
+
# v6 v4
|
222
|
+
# v4 v6
|
223
|
+
# v6
|
224
|
+
# v4
|
225
|
+
# (empty or not set: use system default)
|
226
|
+
#
|
227
|
+
# ConnectProto: v6 v4
|
228
|
+
|
229
|
+
# Regular expiration algorithm finds package files which are no longer listed
|
230
|
+
# in any index file and removes them of them after a safety period.
|
231
|
+
# This option allows to keep more versions of a package in the cache after
|
232
|
+
# safety period is over.
|
233
|
+
# KeepExtraVersions: 1
|
234
|
+
|
235
|
+
# Optionally uses TCP access control provided by libwrap, see hosts_access(5)
|
236
|
+
# for details. Daemon name is apt-cacher-ng. Default if not set: decided on
|
237
|
+
# startup by looking for explicit mentioning of apt-cacher-ng in
|
238
|
+
# /etc/hosts.allow or /etc/hosts.deny files.
|
239
|
+
# UseWrap: 0
|
240
|
+
|
241
|
+
# If many machines from the same local network attempt to update index files
|
242
|
+
# (apt-get update) at nearly the same time, the known state of these index file
|
243
|
+
# is temporarily frozen and multiple requests receive the cached response
|
244
|
+
# without contacting the server. This parameter (in seconds) specifies the
|
245
|
+
# length of this period before the files are considered outdated.
|
246
|
+
# Setting it too low transfers more data and increases remote server load,
|
247
|
+
# setting it too high (more than a couple of minutes) increases the risk of
|
248
|
+
# delivering inconsistent responses to the clients.
|
249
|
+
# FreshIndexMaxAge: 27
|
250
|
+
|
251
|
+
# Usually the users are not allowed to specify custom TCP ports of remote
|
252
|
+
# mirrors in the requests, only the default HTTP port can be used (instead,
|
253
|
+
# proxy administrator can create Remap- rules with custom ports). This
|
254
|
+
# restriction can be disabled by specifying a list of allowed ports or 0 for
|
255
|
+
# any port.
|
256
|
+
#
|
257
|
+
# AllowUserPorts: 80
|
258
|
+
|
259
|
+
# Normally the HTTP redirection responses are forwarded to the original caller
|
260
|
+
# (i.e. APT) which starts a new download attempt from the new URL. This
|
261
|
+
# solution is ok for client configurations with proxy mode but doesn't work
|
262
|
+
# well with configurations using URL prefixes. To work around this the server
|
263
|
+
# can restart its own download with another URL. However, this might be used to
|
264
|
+
# circumvent download source policies by malicious users.
|
265
|
+
# The RedirMax option specifies how many such redirects the server should
|
266
|
+
# follow per request, 0 disables the internal redirection. If not set,
|
267
|
+
# default value is 0 if ForceManaged is used and 5 otherwise.
|
268
|
+
#
|
269
|
+
# RedirMax: 5
|