-
Notifications
You must be signed in to change notification settings - Fork 12
/
metadata.rb
101 lines (85 loc) · 3.52 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
name 'redmine2'
maintainer 'Anton Minin'
maintainer_email '[email protected]'
license 'Apache 2.0'
description 'Installs/Configures redmine2'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.5.2'
conflicts 'redmine'
depends 'rbenv' # https://github.com/aminin/chef-rbenv
depends 'ruby_build' # https://github.com/fnichol/chef-ruby_build
depends 'nginx'
depends 'runit'
depends 'database', '=2.3.1' # https://github.com/brint/wordpress-cookbook/issues/52#issuecomment-72665257
depends 'postgresql'
depends 'mysql', '< 6.0' # before recipes removed
depends 'mysql-chef_gem', '< 1.0' # transitive dependency, before recipes removed
depends 'sqlite'
depends 'certificate'
depends 'iptables'
depends 'logrotate', '>= 1.8.0'
supports 'ubuntu'
attribute 'redmine',
display_name: 'Redmine Hash',
description: 'Hash of Redmine attributes',
type: 'hash'
attribute 'redmine/home',
display_name: 'Redmine Directory',
description: 'Location for Redmine application',
default: '/home/redmine',
recipes: ['redmine2::default']
attribute 'redmine/host',
display_name: 'Redmine Domain',
description: 'Redmine Domain',
default: 'redmine.example.com',
recipes: ['redmine2::default']
attribute 'redmine/user',
display_name: 'Redmine User',
description: 'Owner of redmine files',
default: 'redmine',
recipes: ['redmine2::default']
attribute 'redmine/ruby_version',
display_name: 'Redmine Ruby Version',
description: 'Version of Ruby to run Redmine',
default: '2.1.5-p273',
recipes: ['redmine2::default']
attribute 'redmine/version',
display_name: 'Redmine version',
description: 'Redmine version',
default: '2.6.1',
recipes: ['redmine2::default']
attribute 'redmine/create_db',
display_name: 'Create DB on install',
description: 'Whether to create DB',
default: 'true',
recipes: ['redmine2::default']
attribute 'redmine/db',
display_name: 'Redmine DB Hash',
description: 'Hash of redmine database attributes',
type: 'hash'
attribute 'redmine/db/type',
display_name: 'Redmine DB type',
description: 'Type of redmine database',
choice: %w(sqlite postgresql mysql),
default: 'postgresql',
recipes: ['redmine2::default']
attribute 'redmine/db/dbname',
display_name: 'Redmine DB name',
description: 'Redmine DB name',
default: 'redmine',
recipes: ['redmine2::default']
attribute 'redmine/db/username',
display_name: 'Redmine DB user',
description: 'Redmine DB user',
default: 'redmine',
recipes: ['redmine2::default']
attribute 'redmine/db/hostname',
display_name: 'Redmine DB host',
description: 'Redmine DB host',
default: 'localhost',
recipes: ['redmine2::default']
attribute 'redmine/db/password',
display_name: 'Redmine DB password',
description: 'Redmine DB password',
default: '123456',
recipes: ['redmine2::default']