-
Notifications
You must be signed in to change notification settings - Fork 19
/
metadata.rb
executable file
·145 lines (110 loc) · 4.63 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
134
135
136
137
138
139
140
141
142
143
144
145
maintainer "Jim Dowling"
maintainer_email "[email protected]"
name "kagent"
license "GPL 2.0"
description "Installs/Configures the Karamel agent used by Hops"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "4.0.0"
source_url "https://github.com/karamelchef/kagent-chef"
%w{ ubuntu debian centos }.each do |os|
supports os
end
depends 'hostsfile', '~> 2.4.5'
depends 'ntp', '~> 2.0.0'
depends 'sudo', '~> 4.0.0'
depends 'magic_shell', '~> 1.0.0'
depends 'conda'
recipe "kagent::install", "Installs the Karamel agent and python dependencies"
recipe "kagent::default", "Installs and configures the Karamel agent"
recipe "kagent::purge", "Deletes the Karamel agent files"
recipe "kagent::dev", "Development helper library"
attribute "kagent/user",
:description => "Username to run kagent as",
:type => 'string'
attribute "kagent/user_id",
:description => "kagent user id. Default: 1514",
:type => 'string'
attribute "kagent/group",
:description => "group to run kagent as",
:type => 'string'
attribute "kagent/group_id",
:description => "kagent group id. Default: 1510",
:type => 'string'
attribute "kagent/user-home",
:description => "Home directory of kagent user",
:type => 'string'
attribute "kagent/certs_user",
:description => "User managing PKI and service certificates",
:type => 'string'
attribute "kagent/certs_user_id",
:description => "certs user id. Default: 1515",
:type => 'string'
attribute "kagent/certs_group",
:description => "Group having access to service certificates",
:type => 'string'
attribute "kagent/certs_group_id",
:description => "certs group id. Default: 1511",
:type => 'string'
attribute "kagent/dir",
:description => "Installation directory for kagent",
:type => 'string'
attribute "kagent/enabled",
:description => "Kagent enabled: default 'true'. Set to 'false' to disable it.",
:type => 'string'
attribute "kagent/disable_unattended_upgrades",
:description => "Control whether we should disable Ubuntu unattended-upgrades. Default: true",
:type => 'string'
attribute "kagent/dns",
:description => "Default 'false'. Set to 'true' to use fully qualified domain names for kagent hosts in Hopsworks.",
:type => 'string'
attribute "kagent/hostid",
:description => " One-time password used when registering the host",
:type => 'string'
attribute "kagent/name",
:description => "Cookbook name",
:type => 'string'
attribute "kagent/password",
:description => "Agent's password - needed to call REST APIs on the kagent",
:type => 'string'
attribute "kagent/rest_api/user",
:description => "kagent REST API username",
:type => "string"
attribute "kagent/rest_api/password",
:description => "kagent REST API password",
:type => "string"
attribute "kagent/dashboard/user",
:description => "kagent username to register with server",
:type => "string"
attribute "kagent/dashboard/password",
:description => "kagent password to register with server",
:type => "string"
attribute "systemd",
:description => "Use systemd startup scripts, default 'true'",
:type => "string"
attribute "ntp/install",
:description => "Install Network Time Protocol (default: false)",
:type => "string"
attribute "services/enabled",
:description => "Default 'false'. Set to 'true' to enable daemon services, so that they are started on a host restart.",
:type => "string"
attribute "certs/dir",
:description => "Installation directory for ssl/tls certs",
:type => 'string'
attribute "hops/dir",
:description => "Installation directory for Hops",
:type => 'string'
attribute "kagent/hopsify/version",
:description => "Version of hopsify tool",
:type => "string"
attribute "kagent/hopsify/bin_url",
:description => "Download URL of hopsify tool",
:type => "string"
attribute "kagent/cloud/monitor_interval",
:description => "interval in seconds to check for cloud events",
:type => "string"
attribute "kagent/cloud/monitor_url",
:description => "URL from which to pull cloud events",
:type => "string"
attribute "x509/rotate",
:description => "Whether or not to rotate the X509 host certificates (Default: False)",
:type => "string"