It is breaking on
include baseapps, sshd, admin, default
get rid of default and it should work
On Wed, Feb 4, 2009 at 2:34 AM, linuxbsdfreak
<linuxbsdfreak@gmail.com>wrote:
>
> Hi i am creating a template.pp for different OS.. Following is my
> template.pp file
>
> node basenode {
> case $operatingsystem {
> fedora: { include fedora }
> default: { include debian }
> }
> include baseapps, sshd, admin, default
> } <=== line 7
>
> node default inherits basenode {}
>
> I receive an error.
>
> err: Could not parse for environment production: Syntax error at
''}''
> at /etc/puppet/manifests/templates.pp:7
>
> when i run : puppet --parseonly --ignoreimport /etc/puppet/manifests/
> templates.pp
>
> I verified the sytanx. But no luck. Still i have prbs. I require help
> with this.
>
> puppet version - 0.24.4-8
> OS - ubuntu
>
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---