Re: [Puppet Users] Errors in 2.6.1

Douglas Garstang
Mon, 06 Sep 2010 18:17:26 -0000

2010/9/6 Héctor Rivas Gándara <keymon@gmail.com>:
> On Sat, Sep 4, 2010 at 10:44 PM, Douglas Garstang
> <doug.garstang@gmail.com> wrote:
>
>> Can someone tell me why, when I restart puppet on the client, I get
this:
>>
>> Sep  4 20:41:49 s_sys@db01.pax.livegamer.com puppet-agent[26756]:
>> Could not retrieve catalog from remote server: Error 400 on SERVER:
>> Syntax error at '';''; expected ''}''
at
>> /etc/puppet/modules/oracle/manifests/server/environment.pp:40 on node
>> db01.pax.livegamer.com
>
> I think that the problem is the .pp files end of line format and
> enconding. It should be latin1 and (the most important) UNIX like end
> of lines == "\n", not "\r\n" like in Windows files.
>
> Check ALL the .pp files, not only the one that reports failure. Using
> Windows end of lines will cause completely random errors in random
> files.
> If you have a Windows formated .pp file somewhere it could make it
> fail, even if you don''t use it!!

Highly unlikely. I don''t touch Windows, ever.

Doug.