Re: [Puppet Users] Error with service: "invalid byte sequence in US-ASCII"

David Schmitt
Tue, 21 May 2013 09:43:06 -0000

On 19.05.2013 14:18, Mateusz Fiołka wrote:
> I''m not sure if it is related to the services. It rather looks
like
> puppet related to me.
> I''m having a similar problem on a newly created vps. When I do
puppet
> apply first time I get the message:
>
> Error: Could not set ''present'' on ensure: invalid byte
sequence in
> US-ASCII at 3:/root/mf-prod.pp

I''ve seen this error when the puppet master process started by init
receives a different locale environment than when it is started from the
command line.

Check /proc/$pid/env of the running puppet master process for LANG/LC_*
and compare that to your shell env.


Regards, David