From: Frank Brehm Date: Mon, 17 Sep 2018 11:12:46 +0000 (+0200) Subject: Setting environment variables for customer/fbb-api/prd-api01-fbb.pixelpark.net.yaml... X-Git-Tag: v0.1.0~142 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=10f3eba1d934fd20fbb800bc1bdc692cf9f063a6;p=pixelpark%2Fhiera.git Setting environment variables for customer/fbb-api/prd-api01-fbb.pixelpark.net.yaml and customer/fbb-api/prd-api02-fbb.pixelpark.net.yaml --- diff --git a/customer/fbb-api/prd-api01-fbb.pixelpark.net.yaml b/customer/fbb-api/prd-api01-fbb.pixelpark.net.yaml index 1a207081..0724bb6a 100644 --- a/customer/fbb-api/prd-api01-fbb.pixelpark.net.yaml +++ b/customer/fbb-api/prd-api01-fbb.pixelpark.net.yaml @@ -10,6 +10,8 @@ infra::profile::cron::cronjobs: rabbitmq::environment_variables: NODENAME: 'rabbit@prd-api01-fbb.pixelpark.net' USE_LONGNAME: true + LANG: 'en_US.UTF-8' + LC_ALL: 'en_US.UTF-8' infra::profile::apache::pp_vhosts: prd-api: diff --git a/customer/fbb-api/prd-api02-fbb.pixelpark.net.yaml b/customer/fbb-api/prd-api02-fbb.pixelpark.net.yaml index a6817e52..9b479953 100644 --- a/customer/fbb-api/prd-api02-fbb.pixelpark.net.yaml +++ b/customer/fbb-api/prd-api02-fbb.pixelpark.net.yaml @@ -3,6 +3,8 @@ rabbitmq::environment_variables: NODENAME: 'rabbit@prd-api02-fbb.pixelpark.net' USE_LONGNAME: true + LANG: 'en_US.UTF-8' + LC_ALL: 'en_US.UTF-8' infra::profile::apache::pp_vhosts: prd-api: diff --git a/customer/fbb-api/production.yaml b/customer/fbb-api/production.yaml index d32b1e3c..ae08316b 100644 --- a/customer/fbb-api/production.yaml +++ b/customer/fbb-api/production.yaml @@ -111,6 +111,10 @@ rabbitmq::ssl_versions: ['tlsv1.2', 'tlsv1.1', 'tlsv1'] rabbitmq::ssl_cert: "/etc/puppetlabs/puppet/ssl/certs/%{fqdn}.pem" rabbitmq::ssl_key: "/etc/puppetlabs/puppet/ssl/private_keys/%{fqdn}.pem" rabbitmq::ssl_cacert: '/etc/puppetlabs/puppet/ssl/certs/ca.pem' +# CAUTION: Include these environment variables in the host yaml file, else it leads to an error +rabbitmq::environment_variables: + LANG: 'en_US.UTF-8' + LC_ALL: 'en_US.UTF-8' rabbitmq::rabbitmq_user: 'fbb@/fbbapi_vhost': admin: false