remove explicit LC_ALL environment variable setting that only works on some distros
This commit is contained in:
@@ -6,8 +6,7 @@
|
||||
command: pg_createcluster {{ version }} main
|
||||
test: test -f /var/lib/postgresql/{{ version }}/main/PG_VERSION && test -f /etc/postgresql/{{ version }}/main/postgresql.conf
|
||||
user: root
|
||||
env:
|
||||
LC_ALL: C.UTF-8
|
||||
env: {}
|
||||
{%- endmacro %}
|
||||
|
||||
{{ ubuntu_block('wheezy', 9.1) }}
|
||||
|
||||
@@ -26,6 +26,5 @@ postgres:
|
||||
user: root
|
||||
command: service postgresql initdb
|
||||
test: test -f /var/lib/pgsql/data/PG_VERSION
|
||||
env:
|
||||
LC_ALL: C.UTF-8
|
||||
env: {}
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user