configure rundeck datasource using
Change-Id: I1bbc593f0b9f19171290189524011342e2ed099b
diff --git a/.releasenotes/notes/psql-issues-16cb5e030ef7dac5.yaml b/.releasenotes/notes/psql-issues-16cb5e030ef7dac5.yaml
new file mode 100644
index 0000000..7c1c805
--- /dev/null
+++ b/.releasenotes/notes/psql-issues-16cb5e030ef7dac5.yaml
@@ -0,0 +1,10 @@
+---
+summary: >
+ Configure Rundeck datasource through salt metadata.
+
+features:
+ - |
+ Rundeck service support using postgresql database as external source for datastore.
+
+ .. code-block:: text
+ Default configuration supports PostgresqlDB driver, pointed on OSS Postgresql stack and disabled.
diff --git a/rundeck/server/docker.yml b/rundeck/server/docker.yml
index 492d135..e43a03f 100644
--- a/rundeck/server/docker.yml
+++ b/rundeck/server/docker.yml
@@ -3,11 +3,6 @@
- service.rundeck.server.single
parameters:
_param:
- rundeck_postgresql_username: rundeck
- rundeck_postgresql_password: password
- rundeck_postgresql_database: rundeck
- rundeck_postgresql_host: ${_param:control_vip_address}
- rundeck_postgresql_port: 5432
rundeck_server_ssh_timeout: 300000
rundeck:
server:
@@ -16,13 +11,6 @@
gid: 550
home_dir: /srv/volumes/rundeck
root_dir: /srv/volumes/rundeck
- datasource:
- engine: postgresql
- host: ${_param:rundeck_postgresql_host}
- port: ${_param:rundeck_postgresql_port}
- username: ${_param:rundeck_postgresql_username}
- password: ${_param:rundeck_postgresql_password}
- database: ${_param:rundeck_postgresql_database}
api:
host: ${_param:haproxy_rundeck_bind_host}
port: ${_param:haproxy_rundeck_bind_port}