Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 56 lines (45 sloc) 2.032 kb
63e4f6f7 »
2009-06-02 COOK-131, initial commit of skeleton metadata files.
1 maintainer "Opscode, Inc."
2 maintainer_email "cookbooks@opscode.com"
3 license "Apache 2.0"
84de68dd »
2009-06-03 cook-131, flesh out more cookbook metadata
4 description "Installs djbdns and configures DNS services"
d978deb4 »
2010-08-19 COOK-325, add system true to users
5 version "0.8.3"
84de68dd »
2009-06-03 cook-131, flesh out more cookbook metadata
6 recipe "djbdns", "Installs djbdns from package or source and creates users"
7 recipe "djbdns::axfr", "Sets up djbdns AXFR service"
8 recipe "djbdns::cache", "Sets up public dnscache service"
9 recipe "djbdns::internal_server", "Sets up internal TinyDNS"
10 recipe "djbdns::server", "Sets up external TinyDNS"
11
12 %w{ build-essential runit }.each do |cb|
13 depends cb
14 end
15
16 %w{ ubuntu debian centos rhel }.each do |os|
17 supports os
18 end
19
20 attribute "djbdns/tinydns_ipaddress",
21 :display_name => "DJB DNS TinyDNS IP Address",
22 :description => "Specify the IP address for TinyDNS",
23 :default => "127.0.0.1"
24
25 attribute "djbdns/tinydns_internal_ipaddress",
26 :display_name => "DJB DNS TinyDNS Internal IP Address",
27 :description => "Specify the IP address for internal TinyDNS",
28 :default => "127.0.0.1"
29
30 attribute "djbdns/axfrdns_ipaddress",
31 :display_name => "DJB DNS AXFR IP Address",
32 :description => "Specify the IP address for AXFR service",
33 :default => "127.0.0.1"
34
35 attribute "djbdns/public_dnscache_ipaddress",
36 :display_name => "DJB DNS Public DNS Cache IP Address",
37 :description => "Specify the IP address for the public dnscache",
38 :default => "ipaddress"
39
40 attribute "djbdns/public_dnscache_allowed_networks",
41 :display_name => "DJB DNS Public DNS Cache Allowed Networks",
42 :description => "Networks allowed to query the public dnscache",
43 :type => "array",
44 :default => ["ipaddress.split('.')[0,2].join('.')"]
45
46 attribute "djbdns/tinydns_internal_resolved_domain",
47 :display_name => "DJB DNS TinyDNS Internal Resolved Domain",
6ca5cccb »
2009-06-03 commas will be the death of me.
48 :description => "Internal domain TinyDNS is resolver",
84de68dd »
2009-06-03 cook-131, flesh out more cookbook metadata
49 :default => "domain"
50
51 attribute "djbdns/bin_dir",
52 :display_name => "DJB DNS Binaries Directory",
53 :description => "Location of the djbdns binaries",
54 :default => "/usr/local/bin"
55
Something went wrong with that request. Please try again.