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.json
259 lines (227 loc) · 10.2 KB
/
metadata.json
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
{
"name": "phpmyadmin",
"description": "Installs/Configures PHPMyAdmin",
"long_description": "chef-phpmyadmin\n===============\n\nA Chef cookbook for the popular MySQL management application PHPMyAdmin\n\nYou can clone it and import it to Chef as\n\n\tcd cookbooks\n\tgit clone git://github.com/priestjim/chef-phpmyadmin.git phpmyadmin\n\tknife cookbook upload phpmyadmin\n\nRequirements\n============\n\nThis cookbook requires the following cookbooks to be present and installed:\n\n* chef-php from https://github.com/priestjim/chef-php\n\nIt also suggests the following:\n\n* nginx\n* apache2\n* percona\n\nSupported Operating Systems\n===========================\n\nThis cookbook supports the following Linux distributions:\n\n* Ubuntu\n* Debian\n* Fedora\n* CentOS\n* RedHat\n\nIt also supports **Chef 10.14** and higher\n\nAttributes\n==========\n\nThis cookbook supports the following attributes:\n\n* `version`: The desired PMA version\n* `checksum`: The sha256 checksum of the PMA desired version\n* `mirror`: The desired PMA download mirror\n* `fpm`: Enables the PMA FPM instance for serving via NGINX\n* `home`: The desired PMA installation home\n* `user`: The user PMA runs as\n* `group`: The group PMA runs as\n* `socket`: The socket that FPM will be exposing for PMA\n* `upload_dir`: The directory PMA will be using for uploads\n* `save_dir`: The directory PMA will be using for file saves\n* `maxrows`: The maximum rows PMA shall display in a table view\n* `protect_binary`: Define the binary field protection PMA will be using\n* `default_lang`: The default language PMA will be using\n* `default_display`: The default display of rows inside PMA\n* `query_history`: Enable or disable the Javascript query history\n* `query_history_size`: Set the maximum size of the Javascript query history\n\nLWRP Methods\n============\n\n## phpmyadmin_db\n\nThis cookbook defines a phpmyadmin_db LWRP for dynamic DB definitions. This LWRP allows the following methods:\n\n* `name`: This is the description of the defined database. It also gets converted to lowercase and spaces substituted to underscores for the database filename. This is the **name attribute**\n* `host`: The database host. It can be either a hostname or an IP.\n* `port`: The database port.\n* `username`: The database username.\n* `password`: The database password\n* `hide_dbs`: An array of databases we do not want to be shown. This will be concatenated in a form of '^db1|db2$' etc.\n* `pma_database`: If you have configured your database server for PMA, you can define here the PMA database name\n* `pma_username`: If you have configured your database server for PMA, you can define here the PMA username\n* `pma_password`: If you have configured your database server for PMA, you can define here the PMA password\n\n## phpmyadmin_pmadb\n\nThis cookbook defines a phpmyadmin_pmadb LWRP for dynamically defining the control databases of PHPMyAdmin for earch server. This LWRP allows the following methods:\n\n* `name`: The block name. Define it for uniqueness. This is the **name attribute**\n* `host`: The database host. It can be either a hostname or an IP.\n* `port`: The database port.\n* `root_username`: The root username (root or admin usually) in order to create the database and needed privileges.\n* `root_password`: The root password\n* `pma_database`: This is the name of the PMA control database.\n* `pma_username`: The PMA control database username\n* `pma_password`: The PMA control database password\n* `auth_type`: The authentication method PMA will use\n\nUsage\n=====\n\nThe cookbook installs the selected PMA version to /opt/phpmyadmin (or anywhere else you may have defined in the 'home' attribute) and optionally defines an FPM pool for NGINX or Apache2/mod_fcgid\n\nTo define a database config you can use the phpmyadmin_db LWRP such as:\n\n\tphpmyadmin_db 'Test DB' do\n\t\thost '127.0.0.1'\n\t\tport 3306\n\t\tusername 'root'\n\t\tpassword 'password'\n\t\thide_dbs %w{ information_schema mysql phpmyadmin performance_schema }\n\tend\n\nThis will create a file in /opt/phpmyadmin/conf.d/test_db.inc.php and will be automatically included when you display the PMA page.\n\nLicense\n=======\n\nCopyright 2012 Panagiotis Papadomitsos.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n",
"maintainer": "Panagiotis Papadomitsos",
"maintainer_email": "[email protected]",
"license": "Apache Public License 2.0",
"platforms": {
"ubuntu": ">= 0.0.0",
"debian": ">= 0.0.0",
"redhat": ">= 0.0.0",
"fedora": ">= 0.0.0",
"centos": ">= 0.0.0"
},
"dependencies": {
"php": ">= 0.0.0"
},
"recommendations": {
"nginx": ">= 0.0.0",
"apache2": ">= 0.0.0"
},
"suggestions": {
"percona": ">= 0.0.0",
"mysql": ">= 0.0.0"
},
"conflicting": {
},
"providing": {
},
"replacing": {
},
"attributes": {
"phpmyadmin/version": {
"display_name": "PHPMyAdmin version",
"description": "The desired PMA version",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"phpmyadmin/checksum": {
"display_name": "PHPMyAdmin archive checksum",
"description": "The sha256 checksum of the PMA desired version",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"phpmyadmin/mirror": {
"display_name": "PHPMyAdmin download mirror",
"description": "The desired PMA download mirror",
"default": "http://netcologne.dl.sourceforge.net/project/phpmyadmin/phpMyAdmin",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"phpmyadmin/fpm": {
"display_name": "PHPMyAdmin FPM instance",
"description": "Enables the PMA FPM instance for serving via NGINX",
"default": "true",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"phpmyadmin/home": {
"display_name": "PHPMyAdmin home",
"description": "The desired PMA installation home",
"default": "/opt/phpmyadmin",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"phpmyadmin/user": {
"display_name": "PHPMyAdmin user",
"description": "The user PMA runs as",
"default": "phpmyadmin",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"phpmyadmin/group": {
"display_name": "PHPMyAdmin group",
"description": "The group PMA runs as",
"default": "phpmyadmin",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"phpmyadmin/socket": {
"display_name": "PHPMyAdmin FPM socket",
"description": "The socket that FPM will be exposing for PMA",
"default": "/tmp/phpmyadmin.sock",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"phpmyadmin/upload_dir": {
"display_name": "PHPMyAdmin upload directory",
"description": "The directory PMA will be using for uploads",
"calculated": true,
"choice": [
],
"type": "string",
"required": "optional",
"recipes": [
]
},
"phpmyadmin/save_dir": {
"display_name": "PHPMyAdmin save directory",
"description": "The directory PMA will be using for file saves",
"calculated": true,
"choice": [
],
"type": "string",
"required": "optional",
"recipes": [
]
},
"phpmyadmin/maxrows": {
"display_name": "PHPMyAdmin maximum rows",
"description": "The maximum rows PMA shall display in a table view",
"default": "100",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"phpmyadmin/protect_binary": {
"display_name": "PHPMyAdmin binary field protection",
"description": "Define the binary field protection PMA will be using",
"default": "blob",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"phpmyadmin/default_lang": {
"display_name": "PHPMyAdmin default language",
"description": "The default language PMA will be using",
"default": "en",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"phpmyadmin/default_display": {
"display_name": "PHPMyAdmin default row display",
"description": "The default display of rows inside PMA",
"default": "horizontal",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"phpmyadmin/query_history": {
"display_name": "PHPMyAdmin query history",
"description": "Enable or disable the Javascript query history",
"default": "true",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"phpmyadmin/query_history_size": {
"display_name": "PHPMyAdmin query history size",
"description": "Set the maximum size of the Javascript query history",
"default": "100",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
}
},
"groupings": {
},
"recipes": {
},
"version": "1.0.4"
}