Luke, Thanks for helping with this, I believe I found out what the problem is, it looks like the editor I was using (eclipse) decided to use windows style end of line characters. These appear to throw puppet for a loop. I found that out when I was concatenating the files from the recipe together, site.pp was in a unix style format because I created it locally, and sudo.pp was in windows format from creating it in eclipse. I can't believe I didn't catch this, thanks again for all your help. -- Matt Marshall
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Luke Kanies Sent: Monday, January 12, 2009 4:30 PM To: [email protected] Subject: [Puppet Users] Re: Parsing issues On Jan 12, 2009, at 3:42 PM, Matt Marshall wrote: > Ok, I'm thoroughly confused. I gave up and started over, delete all of > the configs and went to the simplest recipe. > > I get this error now > puppetd --test --verbose --debug --server ev-unixutil.adeq.lcl > err: Could not retrieve catalog: Could not parse for environment > production: Could not match 'class' at > /etc/puppet/manifests/classes/sudo.pp:2 > warning: Not using cache on failed catalog > > This is the recipe I'm using > http://reductivelabs.com/trac/puppet/wiki/SimplestPuppetInstallRecipe > > I've uninstalled and reinstalled the rpm's, any idea what is causing > this? Or should I just give up and reinstall with the .22.4-1 clients > which I've used before (on a different machine) > Is it possible there is a cache somewhere that needs deleting? Hmm, I really don't think so; the server doesn't have any kind of cache, and the client should never cache this kind of result. You clearly have something pretty strange going on. By chance, is there any kind of exception on the server that's not visible here? Do you get any additional information if you run the server with --trace (I'm only interested in the server-side logs here)? If you paste all of the code into a different file and run that with 'puppet' (rather than puppet{master,}d), do you still get an error? -- It's not the voting that's democracy, it's the counting. -- Tom Stoppard --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com ********************************************************************** 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
