OSDN Git Service

Import apt version 2.0.0
[metasearch/grid-chef-repo.git] / cookbooks / apt / metadata.rb
1 name              "apt"
2 maintainer        "Opscode, Inc."
3 maintainer_email  "cookbooks@opscode.com"
4 license           "Apache 2.0"
5 description       "Configures apt and apt services and LWRPs for managing apt repositories and preferences"
6 long_description  IO.read(File.join(File.dirname(__FILE__), 'README.md'))
7 version           "2.0.0"
8 recipe            "apt", "Runs apt-get update during compile phase and sets up preseed directories"
9 recipe            "apt::cacher-ng", "Set up an apt-cacher-ng caching proxy"
10 recipe            "apt::cacher-client", "Client for the apt::cacher-ng caching proxy"
11
12 %w{ ubuntu debian }.each do |os|
13   supports os
14 end
15
16 attribute "apt/cacher-client/restrict_environment",
17   :description => "Whether to restrict the search for the caching server to the same environment as this node",
18   :default => "false"
19
20 attribute "apt/cacher_port",
21   :description => "Default listen port for the caching server",
22   :default => "3142"
23
24 attribute "apt/key_proxy",
25   :description => "Passed as the proxy passed to GPG for the apt_repository resource",
26   :default => ""
27
28 attribute "apt/caching_server",
29   :description => "Set this to true if the node is a caching server",
30   :default => "false"