From e42361a563d1e4d1f9d746e60b96346d93ff6c20 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Thu, 18 Dec 2014 03:51:03 +0000 Subject: [PATCH] Also apply the postgresql bytea pg-8 compat hotfix on db01 for bodhi1 --- roles/postgresql_server/templates/postgresql.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/postgresql_server/templates/postgresql.conf b/roles/postgresql_server/templates/postgresql.conf index 5f9314c62e..603f9ea610 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