-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmetadata.rb
64 lines (50 loc) · 1.93 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
name "virapipe"
maintainer "Jim Dowling"
maintainer_email "[email protected]"
license "Apache v2.0"
description "Installs/Configures the Virapipe plaform for Hops Hadoop."
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "0.1.0"
source_url "https://github.com/hopshadoop/virapipe-chef"
%w{ ubuntu debian centos rhel }.each do |os|
supports os
end
depends 'java'
depends 'magic_shell'
depends 'kagent'
depends 'conda'
depends 'hops'
depends 'ndb'
depends 'kzookeeper'
recipe "virapipe::install", "Installs Virapipe"
recipe "virapipe::default", "Configures Virapipe."
#######################################################################################
# Required Attributes
#######################################################################################
attribute "java/jdk_version",
:display_name => "Jdk version",
:type => 'string'
attribute "java/install_flavor",
:display_name => "Oracle (default) or openjdk",
:type => 'string'
attribute "hops/base_dir",
:display_name => "Hops base install dir",
:type => 'string'
attribute "hops/yarnapp/user",
:display_name => "Hops yarn app user",
:type => 'string'
attribute "install/dir",
:description => "Default ''. Set to a base directory under which all hops services will be installed.",
:type => "string"
attribute "install/user",
:description => "User to install the services as",
:type => "string"
attribute "install/ssl",
:description => "Is SSL turned on for all services?",
:type => "string"
attribute "install/cleanup_downloads",
:description => "Remove any zipped binaries that were downloaded and used to install services",
:type => "string"
attribute "download_url",
:description => "URL for downloading binaries",
:type => 'string'