forked from candlepin/candlepin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprofiles.yaml
More file actions
33 lines (29 loc) · 1.02 KB
/
Copy pathprofiles.yaml
File metadata and controls
33 lines (29 loc) · 1.02 KB
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
# the ampersand and name create an alias to an item
# the "<<" is used to merge two hashes together and the asterisk plus a name dereferences an alias
# See http://viewsourcecode.org/why/redhanded/bits/yamlSMergeKey.html
common:
server: &common_server
username: "candlepin"
password: ""
postgresql: &default
static: &postgresql_static
driver_class: "org.postgresql.Driver"
dialect: "org.hibernate.dialect.PostgreSQL92Dialect"
quartz_driver: "org.quartz.impl.jdbcjobstore.PostgreSQLDelegate"
server:
<<: *common_server
<<: *postgresql_static
jdbc_url: "jdbc:postgresql://$DB_HOST/$DB_NAME"
# Buildr's default environment is "development" so
# by default, go against postgresql.
development:
<<: *default
mysql:
static: &mysql_static
driver_class: "org.mariadb.jdbc.Driver"
dialect: "org.hibernate.dialect.MariaDBDialect"
quartz_driver: "org.quartz.impl.jdbcjobstore.StdJDBCDelegate"
server:
<<: *common_server
<<: *mysql_static
jdbc_url: "jdbc:mariadb://$DB_HOST/$DB_NAME"