|
I'm reopening because this is still an issue with the current version of the PC1 collection package. As far as I can tell both the package and the OS versions are still supported.
-
Linux: Ubuntu 14.04.5 LTS
-
Puppet Agent 4.10.9, installed from official PC1 collection repo (http://apt.puppetlabs.com trusty PC1)
-
System locale: LANG="en_US.UTF-8"
-
packages:
-
- puppetlabs-release-pc1: 1.1.0-4trusty
-
- puppet-agent: 1.10.9-1trusty
The behaviour exactly matches the symptoms described in this ticket: `Could not evaluate: invalid byte sequence in US-ASCII` on the PHP-FPM Service's init-script, due to UTF-8 characters being present.
The agent's environment on bootup:
UPSTART_INSTANCE=
|
runlevel=2
|
UPSTART_JOB=rc
|
TERM=linux
|
PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
RUNLEVEL=2
|
PREVLEVEL=N
|
UPSTART_EVENTS=runlevel
|
PWD=/
|
previous=N
|
On service puppet restart:
TERM=linux
|
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/puppetlabs/bin
|
LANG=en_US.UTF-8
|
PWD=/
|
When LANG=en_US.UTF-8 is set, either by restarting from a login session or via /etc/default/puppet the run succeeds. On node bootup the puppet run gives the error, despite the global LANG being set to "en_US.UTF-8".
|