I've not heard of anyone else having this issue.  The symptoms see quite odd
to me.

What happens if you try --parseonly on that file?  or take away all the
classes and add this as the only one?



On Fri, Jan 9, 2009 at 3:52 PM, Matt Marshall <marshall.m...@azdeq.gov>wrote:

>  I'm running into a very odd occurrence. I started with a new puppet
> server and was able to add a few classes, however as I try and add new ones
> I get odd parsing error messages, the most common being Could not match '}'
> at whatever file.
>
> Here is the exact error I get
>
> err: Could not retrieve catalog: Could not parse for environment
> production: Could not match '}' at /etc/puppet/manifests/classes/autofs.pp:1
>
> Here is the file it refers to
>
> *class* autofs {
>
>   file { "auto.master":
>
>     name   => "/etc/auto.master",
>
>     owner  => "root",
>
>     group  => "root",
>
>     mode   => 645
>
>   }
>
> }
>
>
>
> Whats weird, is if I delete all the files that have been added since it
> originally worked, it works fine, but if I try to create any new classes I
> get the above error, even if I copy and paste an already existing and
> working class into a new file and just change the name.
>
>
>
> I'm running puppet-0.24.6-1.el5 on Centos 5.2 and have looked through the
> archives of this mailing list, but haven't been able to find anything. Any
> ideas?
>  ------------------------------
> NOTICE: This e-mail (and any attachments) may contain PRIVILEGED OR
> CONFIDENTIAL information and is intended only for the use of the specific
> individual(s) to whom it is addressed. It may contain information that is
> privileged and confidential under state and federal law. This information
> may be used or disclosed only in accordance with law, and you may be
> subject to penalties under law for improper use or further disclosure of
> the
> information in this e-mail and its attachments. If you have received this
> e-
> mail in error, please immediately notify the person named above by reply e-
> mail, and then delete the original e-mail. Thank you.
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@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