@@ -4,34 +4,34 @@ Creates the internal tinydns service and supports either explicit record data or
44
55## Actions
66
7- | Action | Description |
8- | --------| -------------|
7+ | Action | Description |
8+ | ----------- | -------------------------------------------------- -------------|
99| ` :create ` | Configures and enables the internal tinydns service (default) |
1010
1111## Properties
1212
13- | Property | Type | Default | Description |
14- | ----------| ------| ---------| -------------|
15- | ` service_name ` | String | name property | Service name, typically ` tinydns-internal ` |
16- | ` manage_install ` | Boolean | ` true ` | Also run ` djbdns_install ` before configuring the service |
17- | ` install_method ` | String | platform-dependent | Install via ` package ` or ` source ` |
18- | ` package_name ` | String | ` 'djbdns' ` | Package name for package installs |
19- | ` source_url ` | String | ` 'https://cr.yp.to/djbdns/djbdns-1.05.tar.gz' ` | Upstream source tarball |
20- | ` bin_dir ` | String | derived from ` install_method ` | Location of djbdns binaries used by runit |
21- | ` service_dir ` | String | ` '/etc/djbdns/tinydns-internal' ` | Service root directory |
22- | ` sv_dir ` | String | ` '/etc/sv' ` | runit service directory |
23- | ` service_link_dir ` | String | ` '/etc/service' ` | runit enabled-service directory |
24- | ` listen_ip ` | String | ` '127.0.0.1' ` | Address passed to ` tinydns-conf ` |
25- | ` zone_domain ` | String | `node[ 'domain'] | | 'domain.local'` | Domain rendered into the fallback template |
26- | ` zone_ip ` | String | ` '127.0.0.1' ` | IP rendered into the fallback template |
27- | ` data_template_source ` | String | ` 'tinydns-internal-data.erb' ` | Template used when no explicit records resolve |
28- | ` use_data_bag ` | Boolean | ` true ` | Attempt legacy data-bag loading when ` records ` is empty |
29- | ` data_bag_name ` | String | ` 'djbdns' ` | Data bag name for legacy record loading |
30- | ` data_bag_item_id ` | String, nil | ` zone_domain.tr('.', '_') ` | Data bag item id for legacy record loading |
31- | ` records ` | Hash | ` {} ` | Explicit record map keyed by djbdns record type |
32- | ` dnscache_uid ` | Integer | ` 9997 ` | UID for the ` dnscache ` account |
33- | ` dnslog_uid ` | Integer | ` 9998 ` | UID for the ` dnslog ` account |
34- | ` tinydns_uid ` | Integer | ` 9999 ` | UID for the ` tinydns ` account |
13+ | Property | Type | Default | Description |
14+ | ---------------------- | -------------- | ---------------------------------------------- | -------------------------------------------------------- |
15+ | ` service_name ` | String | name property | Service name, typically ` tinydns-internal ` |
16+ | ` manage_install ` | Boolean | ` true ` | Also run ` djbdns_install ` before configuring the service |
17+ | ` install_method ` | String | platform-dependent | Install via ` package ` or ` source ` |
18+ | ` package_name ` | String | ` 'djbdns' ` | Package name for package installs |
19+ | ` source_url ` | String | ` 'https://cr.yp.to/djbdns/djbdns-1.05.tar.gz' ` | Upstream source tarball |
20+ | ` bin_dir ` | String | derived from ` install_method ` | Location of djbdns binaries used by runit |
21+ | ` service_dir ` | String | ` '/etc/djbdns/tinydns-internal' ` | Service root directory |
22+ | ` sv_dir ` | String | ` '/etc/sv' ` | runit service directory |
23+ | ` service_link_dir ` | String | ` '/etc/service' ` | runit enabled-service directory |
24+ | ` listen_ip ` | String | ` '127.0.0.1' ` | Address passed to ` tinydns-conf ` |
25+ | ` zone_domain ` | String | ` node['domain'] \|\ | 'domain.local' ` | Domain rendered into the fallback template |
26+ | ` zone_ip ` | String | ` '127.0.0.1' ` | IP rendered into the fallback template |
27+ | ` data_template_source ` | String | ` 'tinydns-internal-data.erb' ` | Template used when no explicit records resolve |
28+ | ` use_data_bag ` | Boolean | ` true ` | Attempt legacy data-bag loading when ` records ` is empty |
29+ | ` data_bag_name ` | String | ` 'djbdns' ` | Data bag name for legacy record loading |
30+ | ` data_bag_item_id ` | String or nil | ` zone_domain.tr('.', '_') ` | Data bag item id for legacy record loading |
31+ | ` records ` | Hash | ` {} ` | Explicit record map keyed by djbdns record type |
32+ | ` dnscache_uid ` | Integer | ` 9997 ` | UID for the ` dnscache ` account |
33+ | ` dnslog_uid ` | Integer | ` 9998 ` | UID for the ` dnslog ` account |
34+ | ` tinydns_uid ` | Integer | ` 9999 ` | UID for the ` tinydns ` account |
3535
3636## Examples
3737
0 commit comments