-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathmetadata.rb
55 lines (45 loc) · 1.88 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
name 'roundcube'
maintainer 'Sebastian Grewe'
maintainer_email 'sebastian@grewe.ca'
license 'All rights reserved'
description 'Installs/Configures roundcube webmail, a PHP Mail application'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.0.1'
recipe 'roundcube', 'Install and configurea a basic roundcube Webmail service.'
supports 'centos'
attribute 'roundcube/database/user',
:display_name => 'Database Username',
:description => 'Username to grant access privileges for database.',
:default => 'roundcube'
attribute 'roundcube/database/name',
:display_name => 'Database Name',
:description => 'Name of the roundcube database.',
:default => 'roundcube'
attribute 'roundcube/database/password',
:display_name => 'Database Password',
:description => 'Random generated string via secure_password or manually set.',
:default => 'secure_password'
attribute 'roundcube/source/url',
:display_name => 'Source URL',
:description => 'URL to fetch the tar.gz source from.',
:default => 'http://sourceforge.net/projects/roundcubemail/files/roundcubemail'
attribute 'roundcube/version',
:display_name => 'Roundcube Version',
:description => 'Roundcube Version string to install from source.',
:default => '0.8.4'
attribute 'roundcube/destination',
:display_name => 'Destination directory',
:description => 'Destination directory to extract Roundcube source to',
:default => '/var/www/roundcube'
attribute 'roundcube/config',
:display_name => 'Roundcube configuration',
:description => 'Adjust some basic configuration variables. See attributes file default.rb.',
:default => ''
depends 'yum-epel'
depends 'apache2'
depends 'php'
depends 'mysql'
depends 'mysql-chef_gem'
depends 'database'
depends 'openssl'
depends 'ark'