i got a little idea there, should not puppet use environement LANG=C when managing facts or packages etc... ? i have LANG=fr_FR.UTF-8 and puppet choke on quite a few facts (erors messages with uname for exemple: Pour en savoir davantage, faites: « uname --help ». ) and also with packages updates : /usr/bin/apt-cache policy mysql-client-4.1 => err: Package[mysql-client-4.1](provider=apt): Could not find latest version err: Package[mysql-client-4.1](provider=apt): Could not find latest version err: Package[mysql-client-4.1](provider=apt): Could not find latest version just fails in puppet but works on command line. when doing setenv LANG C it then works. What do you think ? -- Cordialement, Ghislain ADNET. AQUEOS. Attention ! Toute demande de support ou commande de domaine par email sera refusée, pour cela utilisez https://support.aqueos.net. Pour tout contact nos coordonnées : http://www.aqueos.com/aqueos-services-informatiques-societe.php Fax: 01.72.70.32.66 _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Apr 18, 2007, at 9:47 AM, ADNET Ghislain wrote:> i got a little idea there, > > should not puppet use environement LANG=C when managing facts or > packages etc... ? > > i have LANG=fr_FR.UTF-8 > > > and puppet choke on quite a few facts (erors messages with uname > for exemple: Pour en savoir davantage, faites: « uname --help ». > ) and also with packages updates : > > /usr/bin/apt-cache policy mysql-client-4.1 > => > err: Package[mysql-client-4.1](provider=apt): Could not find latest > version > err: Package[mysql-client-4.1](provider=apt): Could not find latest > version > err: Package[mysql-client-4.1](provider=apt): Could not find latest > version > > > just fails in puppet but works on command line. > > > when doing setenv LANG C > it then works. What do you think ?Seems like a bug to me, but I don''t know how I''d fix it. Any clues? -- You will notice that BeOS has taken the best parts from all the major operating systems and made them its own. We''ve got the power of the Unix command line, the ease of use of the Macintosh interface, and Minesweeper from Windows. -Tyler Riti --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
> Seems like a bug to me, but I don''t know how I''d fix it. Any clues? > > -- >i do not know about the other platforms but i bet setting the ENV LANG to "C" will make everything works on freebsd and redhat/debian with no disturbing issue that i can think off. I am not a guru so perhaps others could give some advices here ? What could be the effect of setting the LANG variables to ''C'' when puppet start ? -- Cordialement, Ghislain _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Apr 18, 2007, at 9:54 AM, ADNET Ghislain wrote:> >> Seems like a bug to me, but I don''t know how I''d fix it. Any clues? >> >> -- >> > i do not know about the other platforms but i bet setting the ENV > LANG to "C" will make everything works on freebsd and redhat/debian > with no disturbing issue that i can think off. I am not a guru so > perhaps others could give some advices here ? What could be the > effect of setting the LANG variables to ''C'' when puppet start ?Ah, so you''re saying I just should set the LANG in Puppet, rather than trying to make it work with any other settings? -- Calamities are of two kinds: misfortunes to ourselves, and good fortune to others. -- Ambrose Bierce --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
> > Ah, so you''re saying I just should set the LANG in Puppet, rather > than trying to make it work with any other settings? > >yes because if you do try to make puppet work with all locales then you have to make facter and puppet aware of all output in all lang supported for all the utility you use on a platform. This sound a little hard to maintain for the parser. The easy way is to say: while i run, let''s speak the basic english output thing => setenv LANG C I don''t think this can damage anything as we do not change the charset but just the LANG. PErhaps other can confirm or not this statment. -- Cordialement, Ghislain _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Apr 18, 2007, at 9:58 AM, ADNET Ghislain wrote:> yes because if you do try to make puppet work with all locales then > you have to make facter and puppet aware of all output in all lang > supported for all the utility you use on a platform. This sound a > little hard to maintain for the parser. The easy way is to say: > > while i run, let''s speak the basic english output thing => setenv > LANG C > > I don''t think this can damage anything as we do not change the > charset but just the LANG. PErhaps other can confirm or not this > statment.Okay, can you open that as a bug ticket? -- I can win an argument on any topic, against any opponent. People know this, and steer clear of me at parties. Often, as a sign of their great respect, they don''t even invite me. -- Dave Barry --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
i openned a ticket but the process was a little borked ;) there was issues as i am redirected to http://trac that obviously do not work. Also drop down menus do not work on ticket creation, they worked on ticket preview so i was able to select some. The submit button took me to: http://trac/puppet/ticket/595#preview and so failed to work. :) just for information purpose :) -- Cordialement, Ghislain _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Apr 18, 2007, at 10:27 AM, ADNET Ghislain wrote:> i openned a ticket but the process was a little borked ;) > there was issues as i am redirected to http://trac that obviously > do not work. Also drop down menus do not work on ticket creation, > they worked on ticket preview so i was able to select some. The > submit button took me to: > > http://trac/puppet/ticket/595#preview > > and so failed to work. :) > > just for information purpose :)Thanks for letting us know. Ben is working on fixing the Trac traceback problems, and he hasn''t been able to successfully redirect all the links in trac. -- If you would be a real seeker after truth, it is necessary that at least once in your life you doubt, as far as possible, all things. -- Rene Descartes --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
ADNET Ghislain <gadnet@aqueos.com> writes:> i do not know about the other platforms but i bet setting the ENV LANG > to "C" will make everything works on freebsd and redhat/debian with no > disturbing issue that i can think off. I am not a guru so perhaps others > could give some advices here ? What could be the effect of setting the > LANG variables to ''C'' when puppet start ?Don''t you actually want to set LC_ALL? See locale(7). LC_ALL overrides everything. If it isn''t set, the LC_* variables are used, and if they''re not set, LANG provides the fallback default. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
在 18 April , 2007,19:03,Russ Allbery 写道:> ADNET Ghislain <gadnet@aqueos.com> writes: > >> i do not know about the other platforms but i bet setting the ENV >> LANG >> to "C" will make everything works on freebsd and redhat/debian >> with no >> disturbing issue that i can think off. I am not a guru so perhaps >> others >> could give some advices here ? What could be the effect of >> setting the >> LANG variables to 'C' when puppet start ? > > Don't you actually want to set LC_ALL? See locale(7). LC_ALL > overrides > everything. If it isn't set, the LC_* variables are used, and if > they're > not set, LANG provides the fallback default.You're right, that makes more sense. _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Apr 18, 2007, at 6:03 PM, Russ Allbery wrote:> ADNET Ghislain <gadnet@aqueos.com> writes: > >> i do not know about the other platforms but i bet setting the ENV >> LANG >> to "C" will make everything works on freebsd and redhat/debian >> with no >> disturbing issue that i can think off. I am not a guru so perhaps >> others >> could give some advices here ? What could be the effect of >> setting the >> LANG variables to ''C'' when puppet start ? > > Don''t you actually want to set LC_ALL? See locale(7). LC_ALL > overrides > everything. If it isn''t set, the LC_* variables are used, and if > they''re > not set, LANG provides the fallback default.It doesn''t look like there''s an open ticket for this yet. Can someone create this ticket with the appropriate information on how to fix it? -- To get back my youth I would do anything in the world, except take exercise, get up early, or be respectable. -- Oscar Wilde --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
Luke Kanies <luke@madstop.com> writes:> On Apr 18, 2007, at 6:03 PM, Russ Allbery wrote:>> Don''t you actually want to set LC_ALL? See locale(7). LC_ALL >> overrides everything. If it isn''t set, the LC_* variables are used, >> and if they''re not set, LANG provides the fallback default.> It doesn''t look like there''s an open ticket for this yet.I don''t know what the number is, but I did see one go by on the tickets list. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
> It doesn''t look like there''s an open ticket for this yet. > > Can someone create this ticket with the appropriate information on > how to fix it?it is: Ticket #595 (assigned defect) Opened 3 days ago Last modified 2 days ago puppet choke on non english LANG settings -- Cordialement, Ghislain _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Fri, Apr 20, 2007 at 10:49:01AM -0500, Luke Kanies wrote:> On Apr 18, 2007, at 6:03 PM, Russ Allbery wrote: > > > ADNET Ghislain <gadnet@aqueos.com> writes: > > > >> i do not know about the other platforms but i bet setting the ENV > >> LANG > >> to "C" will make everything works on freebsd and redhat/debian > >> with no > >> disturbing issue that i can think off. I am not a guru so perhaps > >> others > >> could give some advices here ? What could be the effect of > >> setting the > >> LANG variables to ''C'' when puppet start ? > > > > Don''t you actually want to set LC_ALL? See locale(7). LC_ALL > > overrides > > everything. If it isn''t set, the LC_* variables are used, and if > > they''re > > not set, LANG provides the fallback default. > > It doesn''t look like there''s an open ticket for this yet. > > Can someone create this ticket with the appropriate information on > how to fix it?*cough*#595*cough* I''ve taken it on because, well, I need some easy ones to get myself back into the habit, but if you''re feeling eager... <grin> I should get to it Monday(GMT+10). - Matt -- Non-PHB basically told $MANAGER to go check his drive integrity. -- steve, ASR
On Apr 21, 2007, at 8:00 AM, Matthew Palmer wrote:> > *cough*#595*cough* > > I''ve taken it on because, well, I need some easy ones to get myself > back > into the habit, but if you''re feeling eager... <grin> I should get > to it > Monday(GMT+10).I''m fine waiting for you; thanks. -- Nature and nature''s laws lay hid in night, God said, "Let Newton be," and all was light. It did not last; the devil howling "Ho! Let Einstein be!" restored the status quo. --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com