forked from uwej711/cookbooks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata.rb
66 lines (53 loc) · 1.83 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
maintainer "Opscode, Inc."
maintainer_email "[email protected]"
license "Apache 2.0"
description "Installs and configures jira"
version "0.8.2"
recommends "mysql"
recipe "jira", "Installs and configures Jira"
%w{ ubuntu debian }.each do |os|
supports os
end
%w{ runit java apache2 }.each do |cb|
depends cb
end
attribute "jira",
:display_name => "Jira",
:description => "Hash of Jira attributes",
:type => "hash"
attribute "jira/virtual_host_name",
:display_name => "Jira Virtual Hostname",
:description => "Apache ServerName for Jira virtual host",
:default => "jira.domain"
attribute "jira/virtual_host_alias",
:display_name => "Jira Virtual Hostalias",
:description => "Apache ServerAlias for Jira virtual host",
:default => "jira"
attribute "jira/version",
:display_name => "Jira Version",
:description => "Version of Jira to download and install",
:default => "enterprise-3.13.1"
attribute "jira/install_path",
:display_name => "Jira Install Path",
:description => "Filesystem location for Jira",
:default => "/srv/jira"
attribute "jira/run_user",
:display_name => "Jira Run User",
:description => "User the Jira instance should run as",
:default => "www-data"
attribute "jira/database",
:display_name => "Jira Database",
:description => "Type of database Jira should use",
:default => "mysql"
attribute "jira/database_host",
:display_name => "Jira Database Host",
:description => "Hostname of the database server",
:default => "localhost"
attribute "jira/database_user",
:display_name => "Jira Database User",
:description => "Name of the database user for Jira",
:default => "jira"
attribute "jira/database_password",
:display_name => "Jira Database Password",
:description => "Password for the Jira Database User",
:default => "change_me"