-
Notifications
You must be signed in to change notification settings - Fork 8
/
metadata.rb
133 lines (102 loc) · 5.07 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
name 'consul'
maintainer 'Antonios Kouzoupis'
maintainer_email '[email protected]'
license 'Apache License Version 2.0'
description 'Installs/Configures HashiCorp Consul'
long_description 'Installs/Configures HashiCorp Consul for Hopsworks'
source_url 'https://github.com/logicalclocks/consul-chef'
issues_url 'https://github.com/logicalclocks/consul-chef/issues'
version '4.0.0'
chef_version '>= 12.1' if respond_to?(:chef_version)
depends 'conda'
depends 'kagent'
attribute "consul/user",
:description => "System user to run the service",
:type => 'string'
attribute "consul/user_id",
:description => "Consul user ID. Default: 1500",
:type => 'string'
attribute "consul/group",
:description => "Group id of consul user",
:type => 'string'
attribute "consul/group_id",
:description => "Consul group id. Default: 1500",
:type => 'string'
attribute "consul/bin_url",
:description => "URL to download Consul",
:type => 'string'
attribute "consul/version",
:description => "Version of Consul to install",
:type => 'string'
attribute "consul/use_dnsmasq",
:description => "Flag to control installation of dnsmasq. If set to false, DNS service discovery will NOT work",
:type => 'string'
attribute "consul/systemd_restart_dnsmasq",
:description => "Flag to enable/disable systemd restarting dnsmasq in case of failure. Default: true",
:type => 'string'
attribute "consul/configure_resolv_conf",
:description => "Let cookbook configure dnsmasq resolv.conf",
:type => 'string'
attribute "consul/effective_resolv_conf",
:description => "Effective resolv.conf file. Be aware for Ubuntu /etc/resolv.conf is a symlink. Add here the source, not the symlink. Leave empty for auto-configuration",
:type => 'string'
attribute "consul/http_api_port",
:description => "Port of agent HTTP API",
:type => 'string'
attribute "consul/rpc_port",
:description => "RPC Server port",
:type => 'string'
attribute "consul/wan/enabled",
:description => "Enable Consul WAN federation across datacenters (Default: false)",
:type => 'string'
attribute "consul/wan/enabled",
:description => "Enable Consul WAN federation across datacenters (Default: false)",
:type => 'string'
attribute "consul/wan/nodes",
:description => "If WAN federation enabled, nodes to include in the federation",
:type => 'string'
attribute "consul/domain",
:description => "Domain to be handled by Consul",
:type => 'string'
attribute "consul/datacenter",
:description => "Datacenter configuration (Default: lc)",
:type => 'string'
attribute "consul/use_datacenter",
:description => "Whether or not to inject the datacenter in the Consul FQND (Default: False)",
:type => 'string'
attribute "consul/bind_address",
:description => "IP address Consul agent will bind to. You can also set a go-sockaddr template. Check https://www.consul.io/docs/agent/options.html#_bind for more information.",
:type => 'string'
attribute "consul/client_address",
:description => "IP address Consul client facing intefaces will bind to. You can also set a go-sockaddr template. Check https://www.consul.io/docs/agent/options.html#_bind for more information. Default: localhost",
:type => 'string'
attribute "consul/retry_join/provider",
:description => "Cloud provider for Cloud Auto-join, defaults to install/cloud",
:type => 'string'
attribute "consul/retry_join/tag_key",
:description => "Cloud Auto-join tag_key to join Consul master agent",
:type => 'string'
attribute "consul/retry_join/tag_value",
:description => "Cloud Auto-join tag_value to join Consul master agent",
:type => 'string'
attribute "consul/master/ui",
:description => "Flag to enable/disable the web UI",
:type => 'string'
attribute "consul/master/private_ips",
:description => "Set ip addresses",
:type => "array"
attribute "consul/health-check/max-attempts",
:description => "Maximum number of attempts to retry the health check script before giving up",
:type => 'string'
attribute "consul/health-check/multiplier",
:description => "If a health check fails it will retry for max-attempts before being declared as dead. This attribute controls the sleep interval between consecutive attempts",
:type => 'string'
attribute "consul/metrics/prometheus_retention_time",
:description => "Retention time for Prometheus metrics",
:type => 'string'
attribute "consul/log_rotate_max_files",
:description => "Maximum number of older log file archives to keep. Default: 7",
:type => 'string'
attribute "consul/log_rotate_bytes",
:description => "number of bytes that should be written to a log before it needs to be rotated. Default: 300mb",
:type => 'string'