natives 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +15 -0
  2. data/.document +5 -0
  3. data/.rspec +1 -0
  4. data/Gemfile +17 -0
  5. data/Gemfile.lock +137 -0
  6. data/LICENSE.txt +20 -0
  7. data/README.rdoc +19 -0
  8. data/Rakefile +42 -0
  9. data/VERSION +1 -0
  10. data/bin/natives +7 -0
  11. data/chef-solo/.gitignore +17 -0
  12. data/chef-solo/.kitchen.yml +27 -0
  13. data/chef-solo/Berksfile +4 -0
  14. data/chef-solo/config.rb +17 -0
  15. data/chef-solo/vendored-cookbooks/apt/CHANGELOG.md +144 -0
  16. data/chef-solo/vendored-cookbooks/apt/README.md +247 -0
  17. data/chef-solo/vendored-cookbooks/apt/attributes/default.rb +27 -0
  18. data/chef-solo/vendored-cookbooks/apt/files/default/apt-proxy-v2.conf +50 -0
  19. data/chef-solo/vendored-cookbooks/apt/libraries/helpers.rb +47 -0
  20. data/chef-solo/vendored-cookbooks/apt/libraries/network.rb +33 -0
  21. data/chef-solo/vendored-cookbooks/apt/metadata.json +54 -0
  22. data/chef-solo/vendored-cookbooks/apt/metadata.rb +34 -0
  23. data/chef-solo/vendored-cookbooks/apt/providers/preference.rb +61 -0
  24. data/chef-solo/vendored-cookbooks/apt/providers/repository.rb +141 -0
  25. data/chef-solo/vendored-cookbooks/apt/recipes/cacher-client.rb +81 -0
  26. data/chef-solo/vendored-cookbooks/apt/recipes/cacher-ng.rb +43 -0
  27. data/chef-solo/vendored-cookbooks/apt/recipes/default.rb +83 -0
  28. data/chef-solo/vendored-cookbooks/apt/resources/preference.rb +30 -0
  29. data/chef-solo/vendored-cookbooks/apt/resources/repository.rb +41 -0
  30. data/chef-solo/vendored-cookbooks/apt/templates/debian-6.0/acng.conf.erb +173 -0
  31. data/chef-solo/vendored-cookbooks/apt/templates/default/01proxy.erb +5 -0
  32. data/chef-solo/vendored-cookbooks/apt/templates/default/acng.conf.erb +275 -0
  33. data/chef-solo/vendored-cookbooks/apt/templates/ubuntu-10.04/acng.conf.erb +269 -0
  34. data/chef-solo/vendored-cookbooks/homebrew/CHANGELOG.md +36 -0
  35. data/chef-solo/vendored-cookbooks/homebrew/README.md +110 -0
  36. data/chef-solo/vendored-cookbooks/homebrew/attributes/default.rb +22 -0
  37. data/chef-solo/vendored-cookbooks/homebrew/libraries/homebrew_mixin.rb +53 -0
  38. data/chef-solo/vendored-cookbooks/homebrew/libraries/homebrew_package.rb +104 -0
  39. data/chef-solo/vendored-cookbooks/homebrew/metadata.json +32 -0
  40. data/chef-solo/vendored-cookbooks/homebrew/metadata.rb +10 -0
  41. data/chef-solo/vendored-cookbooks/homebrew/providers/tap.rb +48 -0
  42. data/chef-solo/vendored-cookbooks/homebrew/recipes/default.rb +46 -0
  43. data/chef-solo/vendored-cookbooks/homebrew/resources/tap.rb +35 -0
  44. data/lib/natives/app.rb +53 -0
  45. data/lib/natives/cli.rb +11 -0
  46. data/lib/natives.rb +0 -0
  47. data/natives.gemspec +113 -0
  48. data/spec/natives/app_spec.rb +68 -0
  49. data/spec/spec_helper.rb +12 -0
  50. metadata +224 -0
@@ -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,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
@@ -0,0 +1,36 @@
1
+ homebrew Cookbook CHANGELOG
2
+ ===========================
3
+ This file is used to list changes made in each version of the homebrew cookbook.
4
+
5
+
6
+ v1.5.0
7
+ ------
8
+ ### Bug
9
+ - **[COOK-3589](https://tickets.opscode.com/browse/COOK-3589)** - Add homebrew as the default package manager on OS X Server
10
+
11
+ v1.4.0
12
+ ------
13
+ ### Bug
14
+ - **[COOK-3283](https://tickets.opscode.com/browse/COOK-3283)** - Support running homebrew cookbook as root user, with sudo, or a non-privileged user
15
+
16
+ v1.3.2
17
+ ------
18
+ - [COOK-1793] - use homebrew "go" script to install homebrew
19
+ - [COOK-1821] - Discovered version using Homebrew Formula factory fails check that verifies that version is a String
20
+ - [COOK-1843] - Homebrew README.md contains non-ASCII characters, triggering same issue as COOK-522
21
+
22
+ v1.3.0
23
+ ------
24
+ - [COOK-1425] - use new json output format for formula
25
+ - [COOK-1578] - Use shell_out! instead of popen4
26
+
27
+ v1.2.0
28
+ ------
29
+ Opscode has taken maintenance of this cookbook as the original author has other commitments. This is the initial release with Opscode as maintainer.
30
+
31
+ Changes in this release:
32
+
33
+ - [pull/2] - support for option passing to brew
34
+ - [pull/3] - add brew upgrade and control return value from command
35
+ - [pull/9] - added LWRP for "brew tap"
36
+ - README is now markdown, not rdoc.