1 # DO NOT EDIT - This file is being maintained by Chef
3 # dbc_install: configure database with dbconfig-common?
4 # set to anything but "true" to opt out of assistance
7 # dbc_upgrade: upgrade database with dbconfig-common?
8 # set to anything but "true" to opt out of assistance
11 # dbc_remove: deconfigure database with dbconfig-common?
12 # set to anything but "true" to opt out of assistance
15 # dbc_dbtype: type of underlying database to use
16 # this exists primarily to let dbconfig-common know what database
17 # type to use when a package supports multiple database types.
18 # don't change this value unless you know for certain that this
19 # package supports multiple database types
22 # dbc_dbuser: database user
23 # the name of the user who we will use to connect to the database.
24 dbc_dbuser='<%= @database_user %>'
26 # dbc_dbpass: database user password
27 # the password to use with the above username when connecting
28 # to a database, if one is required
29 dbc_dbpass='<%= @database_password %>'
31 # dbc_dballow: allowed host to connect from
32 # only for database types that support specifying the host from
33 # which the database user is allowed to connect from
34 # this string defines for which host the dbc_dbuser is allowed
36 # this value is only really used again when you reconfigure the
38 dbc_dballow='localhost'
40 # dbc_dbserver: database host.
41 # leave unset to use localhost (or a more efficient local method
43 dbc_dbserver='localhost'
45 # dbc_dbport: remote database port
46 # leave unset to use the default. only applicable if you are
47 # using a remote database.
48 # <%= @database_cluster %>
49 dbc_dbport='<%= node[:postgresql][:clusters][@database_cluster][:port] %>'
51 # dbc_dbname: name of database
52 # this is the name of your application's database.
53 dbc_dbname='<%= @database_name %>'
55 # dbc_dbadmin: name of the administrative user
56 # this is the administrative user that is used to create all of the above
57 # The exception is the MySQL/MariaDB localhost case, where this value is
58 # ignored and instead is determined from /etc/mysql/debian.cnf.
59 dbc_dbadmin='postgres'
61 # dbc_basepath: base directory to hold database files
62 # leave unset to use the default. only applicable if you are
63 # using a local (filesystem based) database.
67 ## postgresql specific settings. if you don't use postgresql,
68 ## you can safely ignore all of these
71 # dbc_ssl: should we require ssl?
72 # set to "true" to require that connections use ssl
75 # dbc_authmethod_admin: authentication method for admin
76 # dbc_authmethod_user: authentication method for dbuser
77 # see the section titled "AUTHENTICATION METHODS" in
78 # /usr/share/doc/dbconfig-common/README.pgsql for more info
79 dbc_authmethod_admin='ident'
80 dbc_authmethod_user='password'
83 ## end postgresql specific settings