summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Uiterwijk <puiterwijk@redhat.com>2014-12-18 03:51:03 +0000
committerPatrick Uiterwijk <puiterwijk@redhat.com>2014-12-18 03:51:03 +0000
commite42361a563d1e4d1f9d746e60b96346d93ff6c20 (patch)
treec1e2a0897aca341ddde6b65b2062d99e2e773143
parentae45891b197271806536967e1e6e6db67c893746 (diff)
downloadansible-e42361a563d1e4d1f9d746e60b96346d93ff6c20.tar.gz
ansible-e42361a563d1e4d1f9d746e60b96346d93ff6c20.tar.xz
ansible-e42361a563d1e4d1f9d746e60b96346d93ff6c20.zip
Also apply the postgresql bytea pg-8 compat hotfix on db01 for bodhi1
-rw-r--r--roles/postgresql_server/templates/postgresql.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/postgresql_server/templates/postgresql.conf b/roles/postgresql_server/templates/postgresql.conf
index 5f9314c62..603f9ea61 100644
--- a/roles/postgresql_server/templates/postgresql.conf
+++ b/roles/postgresql_server/templates/postgresql.conf
@@ -1,4 +1,4 @@
-{% if ansible_hostname.startswith("db-fas01") %}
+{% if ansible_hostname.startswith("db-fas01") or ansible_hostname.startswith("db01") %}
# This enabled pg-8 compatibility for bytea fields
# Fixes errors with sqlalchemy with binary data when app is on RHEL6 and server is PG9
# Reference: https://bitbucket.org/zzzeek/sqlalchemy/issue/2016/pickletype-does-not-work-with-postgresql