forked from garrow/box-postgresql9.3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
solo.json
36 lines (35 loc) · 1.14 KB
/
solo.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
{
"apt": {
"mirror": "us-east-1.ec2"
},
"postgresql": {
"password": {
"postgres": "wercker"
},
"version" : "9.3",
"enable_pgdg_apt" : true,
"dir" : "/etc/postgresql/9.3/main",
"server" : { "packages": ["postgresql-9.3"] },
"ssl" : false,
"config" : {
"listen_addresses" : "*",
"ssl_key_file" : "/etc/ssl/private/ssl-cert-snakeoil.key",
"ssl_cert_file" : "/etc/ssl/certs/ssl-cert-snakeoil.pem",
"data_directory" : "/var/lib/postgresql/9.3/main",
"hba_file" : "/etc/postgresql/9.3/main/pg_hba.conf",
"ident_file" : "/etc/postgresql/9.3/main/pg_ident.conf",
"external_pid_file" : "/var/run/postgresql/9.3-main.pid"
},
"pg_hba" : [
{ "comment" : "# wercker: allow all",
"type" : "host" , "db" :"all", "user" : "all", "addr" : "0.0.0.0/0", "method" : "md5"},
{ "comment" : "# wercker: allow all ip6",
"type" : "host" , "db" :"all", "user" : "all", "addr" : "::1/128", "method" : "md5"}]
},
"run_list":[
"recipe[apt]",
"recipe[postgresql::apt_pgdg_postgresql]",
"recipe[postgresql::server]",
"recipe[postgresql::client]"
]
}