Re: [Puppet Users] Errors in 2.6.1

Héctor Rivas Gándara
Mon, 06 Sep 2010 21:15:56 -0000

>>>>> 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.
>>
>> I reiterate R.I.''s comment - this has nothing to do with
2.6.1.  This
>> isn''t new behaviour.  There is a syntax error somewhere in
your manifests.
>
> My post was not about my error. My post was questioning how it can be
> possible to receive two different errors between subsequent runs of
> the puppet client without making changes to the server side.

Sorry, I got mad with the windows EOL problem :)

I noticed the same behavior than you: when you have a syntax error,
second runs report missing definitions. I always thought that it was
how puppet cached the code.

But it is a harmless problem, once you are used to it you known that
you just need to relaunch puppetd.


--
Atentamente
Héctor Rivas