-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathdefault.rb
39 lines (33 loc) · 1.34 KB
/
default.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
default['phabricator']['username'] = 'admin'
default['phabricator']['email'] = '[email protected]'
default['phabricator']['password'] = 'root'
default['phabricator']['domain'] = 'phabricator.dev'
# user to own the checked out files
default['phabricator']['user'] = 'vagrant'
# dir where phabricator and deps are installed
default['phabricator']['install_dir'] = '/home/vagrant'
# ngix service name, maybe different on platforms
default['phabricator']['nginx']['service'] = 'nginx'
# phabricator config saved into conf/local/local.json
# see ./bin/config list for available configuration
default['phabricator']['config'] = {
'environment.append-paths' => ['/usr/bin', '/usr/local/bin'],
# TODO: fix port
'phabricator.base-uri' => 'http://phabricator.dev:4567',
# mysql connection params
'mysql.host' => 'localhost',
'mysql.port' => 3306,
'mysql.user' => value_for_platform_family(
'pld' => 'mysql',
'default' => 'root',
),
'mysql.pass' => '',
}
# packages to install before proceeding, php, nginx, etc
# Platform specific packages
case node['platform_family']
when 'pld'
default['phabricator']['packages'] = %w{git-core php-program php-spl php-mysql php-json php-filter php-hash php-openssl php-mbstring php-iconv php-curl php-fileinfo php-pecl-APC php-gd}
else
default['phabricator']['packages'] = %w{}
end