This repository has been archived by the owner on Jan 16, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathmetadata.rb
93 lines (74 loc) · 2.93 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
name "phpmyadmin"
maintainer "Panagiotis 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'))
version "1.0.4"
depends "php"
recommends "nginx"
recommends "apache2"
suggests "percona"
suggests "mysql"
%w{ ubuntu debian redhat fedora centos }.each do |os|
supports os
end
attribute "phpmyadmin/version",
:display_name => "PHPMyAdmin version",
:description => "The desired PMA version"
attribute "phpmyadmin/mirror",
:display_name => "PHPMyAdmin download mirror",
:description => "The desired PMA download mirror",
:default => "http://netcologne.dl.sourceforge.net/project/phpmyadmin/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/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"