forked from bahchis/airflow-cookbook
-
Notifications
You must be signed in to change notification settings - Fork 13
/
metadata.rb
83 lines (68 loc) · 3.18 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
# Copyright 2015 Sergey Bahchissaraitsev, 2019 Jim Dowling
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name 'hops_airflow'
maintainer 'Sergey Bahchissaraitsev'
maintainer_email '[email protected]'
license 'Apache v2.0'
description 'Installs and configures Airflow workflow management platform.'
long_description 'Installs and configures Airflow workflow management platform. More information about Airflow can be found here: https://github.com/airbnb/airflow'
source_url 'https://github.com/bahchis/airflow-cookbook'
issues_url 'https://github.com/bahchis/airflow-cookbook/issues'
version '4.0.0'
supports 'ubuntu', '>= 14.04'
supports 'centos', '>= 7.0'
chef_version '>=12.1'
depends 'kagent'
depends 'hops'
depends 'ndb'
depends 'conda'
depends 'hive2'
depends 'consul'
depends 'java'
recipe "default", "Configures an Airflow Server"
recipe "install", "Installs an Airflow Server"
recipe "purge", "Removes and deletes an installed Airflow Server"
attribute "airflow/dir",
:description => "Installation directory for the airflow binaries/config files",
:type => 'string'
attribute "airflow/user",
:description => "Airflow username to run service as",
:type => 'string'
attribute "airflow/user_id",
:description => "airflow user id. Default: 1512",
:type => 'string'
attribute "airflow/group",
:description => "Airflow group to run service as",
:type => 'string'
attribute "airflow/group",
:description => "airflow group id. Default: 1508",
:type => 'string'
attribute "airflow/mysql_user",
:description => "Airflow database username",
:type => 'string'
attribute "airflow/mysql_password",
:description => "Airflow database password",
:type => 'string'
attribute "airflow/operators",
:description => "Comma-separated list of airflow operators to install by default. E.g., 'hdfs, hive, mysql, password'",
:type => 'string'
attribute "airflow/scheduler_runs",
:description => "Number of runs to execute before the scheduler is restarted",
:type => 'string'
attribute "airflow/scheduler_duration",
:description => "Number of seconds to execute before the scheduler exits",
:type => 'string'
attribute "airflow/config/scheduler/min_file_process_interval",
:description => "Parse and schedule each file no faster than this interval.",
:type => 'string'
attribute "airflow/config/scheduler/dag_dir_list_interval",
:description => "How often in seconds to scan the DAGs directory for new files.",
:type => 'string'