remove explicit LC_ALL environment variable setting that only works on some distros

This commit is contained in:
Jon Nelson
2016-07-19 10:09:39 -05:00
parent 45887735c6
commit 7a7396fcb2
3 changed files with 4 additions and 9 deletions

View File

@@ -5,11 +5,9 @@ RedHat:
repo_baseurl: http://yum.postgresql.org/9.4/redhat/rhel-$releasever-$basearch
prepare_cluster:
test: test -f /var/lib/pgsql/data/PG_VERSION
env:
LC_ALL: C.UTF-8
env: {}
{% if grains['os_family'] == 'RedHat' %}
{% if grains['osmajorrelease'] >= 7 %}
PGSETUP_INITDB_OPTIONS:
user: root
command: postgresql-setup initdb
{% else %}
@@ -23,8 +21,7 @@ Arch:
user: postgres
command: initdb -D /var/lib/postgresql/data
test: test -f /var/lib/postgres/data/PG_VERSION
env:
LC_ALL: C.UTF-8
env: {}
pkg_client: postgresql
pkg_dev: postgresql
Debian: