-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata.rb
92 lines (74 loc) · 2.45 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
name 'magento'
maintainer 'Ingram Micro'
maintainer_email 'imco@ingrammicro.com'
license 'All rights reserved'
description 'Installs/Configures magento'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.6.7'
recipe "magento", "Installs and configures magento"
%w(docker).each do |recipe_dependency|
depends recipe_dependency
end
%w{ ubuntu debian centos redhat scientific windows }.each do |os|
supports os
end
attribute "magento/db/host",
:display_name => "host",
:description => "Database host",
:default => "mysql"
attribute "magento/db/database",
:display_name => "database",
:description => "Database Name",
:default => "magento"
attribute "magento/db/username",
:display_name => "username",
:description => "Database Username",
:default => "magentouser"
attribute "magento/db/sample_data",
:display_name => "sample_data",
:description => "Database Sample Data",
:default => "false"
attribute "magento/dir",
:display_name => "dir",
:description => "Magento install dir",
:default => "/var/www/magento"
attribute "mysql/dir",
:display_name => "dir",
:description => "Mysql install dir",
:default => "/var/lib/mysql"
attribute "mysql/root_password",
:display_name => "root_password",
:description => "Mysql root password",
:default => "mysqlmagentopassword"
attribute "magento/locale",
:display_name => "locale",
:description => "Magento locale",
:default => "en_US"
attribute "magento/timezone",
:display_name => "timezone",
:description => "Magento timezone",
:default => "America/Los_Angeles"
attribute "magento/version",
:display_name => "version",
:description => "Magento Version",
:default => "latest"
attribute "magento/user/firstname",
:display_name => "firstname",
:description => "Magento Admin User Firstname",
:default => "admin"
attribute "magento/user/lastname",
:display_name => "lastname",
:description => "Magento Admin User Lastname",
:default => "MyStore"
attribute "magento/user/username",
:display_name => "username",
:description => "Magento Admin Username",
:default => "admin"
attribute "magento/user/password",
:display_name => "password",
:description => "Magento Admin Password",
:default => "magentorocks1"
attribute "magento/user/email",
:display_name => "email",
:description => "Magento email",
:default => "admin@admin.com"