-
Notifications
You must be signed in to change notification settings - Fork 36
/
metadata.rb
103 lines (82 loc) · 3.44 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
102
103
name 'phpmyadmin'
maintainer 'Panagiotis PJ Papadomitsos'
maintainer_email '[email protected]'
license 'Apache Public License 2.0'
description 'Installs/Configures PHPMyAdmin'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')).chomp
version IO.read(File.join(File.dirname(__FILE__), 'VERSION')).chomp rescue '0.1.0'
depends 'php'
recommends 'nginx'
recommends 'apache2'
suggests 'percona'
suggests 'mysql'
supports 'ubuntu', '>= 12.04'
supports 'debian', '>= 6.0'
supports 'centos', '>= 6.0'
supports 'redhat', '>= 9.0'
attribute 'phpmyadmin/version',
:display_name => 'PHPMyAdmin version',
:description => 'The desired PMA version'
attribute 'phpmyadmin/checksum',
:display_name => 'PHPMyAdmin archive checksum',
:description => 'The sha256 checksum of the PMA desired version'
attribute 'phpmyadmin/mirror',
:display_name => 'PHPMyAdmin download mirror',
:description => 'The desired PMA download mirror',
:default => 'https://files.phpmyadmin.net/phpMyAdmin/'
attribute 'phpmyadmin/fpm',
:display_name => 'PHPMyAdmin FPM instance',
:description => 'Enables the PMA FPM instance for serving via NGINX',
:default => 'true'
attribute 'phpmyadmin/home',
:display_name => 'PHPMyAdmin home',
:description => 'The desired PMA installation home',
:default => '/opt/phpmyadmin'
attribute 'phpmyadmin/user',
:display_name => 'PHPMyAdmin user',
:description => 'The user PMA runs as',
:default => 'phpmyadmin'
attribute 'phpmyadmin/group',
:display_name => 'PHPMyAdmin group',
:description => 'The group PMA runs as',
:default => 'phpmyadmin'
attribute 'phpmyadmin/blowfish_secret',
:display_name => 'PHPMyAdmin blowfish secret',
:description => 'The encryption key for PHPMyAdmin',
:default => '7654588cf9f0f92f01a6aa361d02c0cf038'
attribute 'phpmyadmin/socket',
:display_name => 'PHPMyAdmin FPM socket',
:description => 'The socket that FPM will be exposing for PMA',
:default => '/tmp/phpmyadmin.sock'
attribute 'phpmyadmin/upload_dir',
:display_name => 'PHPMyAdmin upload directory',
:description => 'The directory PMA will be using for uploads',
:calculated => true
attribute 'phpmyadmin/save_dir',
:display_name => 'PHPMyAdmin save directory',
:description => 'The directory PMA will be using for file saves',
:calculated => true
attribute 'phpmyadmin/maxrows',
:display_name => 'PHPMyAdmin maximum rows',
:description => 'The maximum rows PMA shall display in a table view',
:default => '100'
attribute 'phpmyadmin/protect_binary',
:display_name => 'PHPMyAdmin binary field protection',
:description => 'Define the binary field protection PMA will be using',
:default => 'blob'
attribute 'phpmyadmin/default_lang',
:display_name => 'PHPMyAdmin default language',
:description => 'The default language PMA will be using',
:default => 'en'
attribute 'phpmyadmin/default_display',
:display_name => 'PHPMyAdmin default row display',
:description => 'The default display of rows inside PMA',
:default => 'horizontal'
attribute 'phpmyadmin/query_history',
:display_name => 'PHPMyAdmin query history',
:description => 'Enable or disable the Javascript query history',
:default => 'true'
attribute 'phpmyadmin/query_history_size',
:display_name => 'PHPMyAdmin query history size',
:description => 'Set the maximum size of the Javascript query history',
:default => '100'