On Wed, Jul 22, 2009 at 2:00 PM, along@leapfrog <inbred@hayseed.net>
wrote:
>
> I''m in the process of setting up our puppet environment, and am
> creating dummy classes so that I can test/use our node classification
> script, however my dummy classes are throwing the following error.
>
> puppetmasterd[3908]: Could not parse for environment production:
> Syntax error at ''Stage_cis2'' at
/etc/puppet/manifests/classes/
> Stage_cis2.pp:2
>
> As you see, the actual syntax of my class is bone-simple:
>
> # Placeholder class so that the puppet node classifier doesn''t
throw
> errors
> class Stage_cis2 {
> }
Remove the capitalization and you should be fine.
>
>
> Are empty classes no longer supported as of 0.24.8? Or is my class
> name invalid for some reason? I''ve looked through the puppet
> documentation wiki for a syntax guide, however, the only syntax guide
> I can find is the puppet style guide, which makes no reference to
> classes whatever.
>
> Any help would be appreciated. Thanks.
>
> >
>
Cheers,Teyo
--
Teyo Tyree :: www.reductivelabs.com :: +1.615.275.5066
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---