-
-
Notifications
You must be signed in to change notification settings - Fork 266
/
metadata.rb
34 lines (28 loc) · 1.3 KB
/
metadata.rb
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
name "apt"
maintainer "Opscode, Inc."
maintainer_email "[email protected]"
license "Apache 2.0"
description "Configures apt and apt services and LWRPs for managing apt repositories and preferences"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "2.3.1"
recipe "apt", "Runs apt-get update during compile phase and sets up preseed directories"
recipe "apt::cacher-ng", "Set up an apt-cacher-ng caching proxy"
recipe "apt::cacher-client", "Client for the apt::cacher-ng caching proxy"
%w{ ubuntu debian }.each do |os|
supports os
end
attribute "apt/cacher-client/restrict_environment",
:description => "Whether to restrict the search for the caching server to the same environment as this node",
:default => "false"
attribute "apt/cacher_port",
:description => "Default listen port for the caching server",
:default => "3142"
attribute "apt/cacher_interface",
:description => "Default listen interface for the caching server",
:default => nil
attribute "apt/key_proxy",
:description => "Passed as the proxy passed to GPG for the apt_repository resource",
:default => ""
attribute "apt/caching_server",
:description => "Set this to true if the node is a caching server",
:default => "false"