On Sat, Sep 4, 2010 at 10:44 PM, Douglas Garstang
<doug.garst...@gmail.com> wrote:

> Can someone tell me why, when I restart puppet on the client, I get this:
>
> Sep  4 20:41:49 s_...@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!!

--
Atentamente
Héctor Rivas

-- 
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