Yann <yann.ha...@gmail.com> writes:

> Hello Patrick, thank you very much for your help. I tested everything you
> said without much success. I ended up replacing my command by an "env" and
> reproducing the puppet's shell environment variable in my shell to see if
> that could have an impact.  It seems my puppet is running with an incorrect
> locale:
>
> LANG=C
> [...]
> LC_MESSAGES=C
> [...]
> LC_ALL=C
>
> r...@venice:/tmp# /usr/bin/vmbuilder kvm ubuntu
> 2010-04-26 11:58:14,501 INFO    : Cleaning up
> locale-gen does not recognize your locale 'C'

O_o  The 'C' locale means "the strings built in to the binary", and is the
fallback when there isn't anything else available.

My guess is that the vmbuilder application has a foolish bug that uses LANG
from the environment either by default, or by design, to help pre-populate the
container.

Try specifying the locale on the command line for vmbuilder, or overriding it
in the puppet environment in the exec.

        Daniel

-- 
✣ Daniel Pittman            ✉ dan...@rimspace.net            ☎ +61 401 155 707
               ♽ made with 100 percent post-consumer electrons

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to