You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+15-12
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,15 @@
1
1
Description
2
2
===========
3
3
4
-
This cookbook includes recipes to execute apt-get update to ensure the local APT package cache is up to date or manage apt-cacherand cacher clients. It also includes a LWRP for managing APT repositories in /etc/apt/sources.list.d.
4
+
This cookbook includes recipes to execute apt-get update to ensure the local APT package cache is up to date. There are recipes for managing the apt-cacher-ng caching proxy and proxy clients. It also includes a LWRP for managing APT repositories in /etc/apt/sources.list.d.
5
5
6
6
Changes
7
7
=======
8
8
9
+
## v1.3.0:
10
+
11
+
* COOK-593: switched from apt-cacher to apt-cacher-ng to better support multiple distributions.
12
+
9
13
## v1.2.2:
10
14
11
15
* COOK-804: apt-get update resource in apt cookbook changed names
@@ -28,14 +32,14 @@ This recipe should appear first in the run list of Debian or Ubuntu nodes to ens
28
32
29
33
This recipe also sets up a local cache directory for preseeding packages.
30
34
31
-
cacher
32
-
------
35
+
cacher-ng
36
+
---------
33
37
34
-
Installs the apt-cacher package and service so the system can provide APT caching. You can check the usage report at http://{hostname}:3142/report. The cacher recipe includes the `cacher-client` recipe, so it helps seed itself.
38
+
Installs the `apt-cacher-ng` package and service so the system can provide APT caching. You can check the usage report at http://{hostname}:3142/acng-report.html. The `cacher-ng` recipe includes the `cacher-client` recipe, so it helps seed itself.
35
39
36
40
cacher-client
37
41
-------------
38
-
Configures the node to use the apt-cacher server as a client.
42
+
Configures the node to use the `apt-cacher-ng` server as a client.
39
43
40
44
Resources/Providers
41
45
===================
@@ -64,7 +68,7 @@ This LWRP provides an easy way to manage additional APT repositories. Adding a n
64
68
uri "http://dev.zenoss.org/deb"
65
69
components ["main","stable"]
66
70
end
67
-
71
+
68
72
# add the Nginx PPA; grab key from keyserver
69
73
apt_repository "nginx-php" do
70
74
uri "http://ppa.launchpad.net/nginx/php5/ubuntu"
@@ -73,20 +77,20 @@ This LWRP provides an easy way to manage additional APT repositories. Adding a n
@@ -98,7 +102,7 @@ Put `recipe[apt]` first in the run list. If you have other recipes that you want
98
102
99
103
The above will run during execution phase since it is a normal template resource, and should appear before other package resources that need the sources in the template.
100
104
101
-
Put `recipe[apt::cacher]` in the run_list for a server to provide APT caching and add `recipe[apt::cacher-client]` on the rest of the Debian-based nodes to take advantage of the caching server.
105
+
Put `recipe[apt::cacher-ng]` in the run_list for a server to provide APT caching and add `recipe[apt::cacher-client]` on the rest of the Debian-based nodes to take advantage of the caching server.
0 commit comments