Juri is correct.
Think of every object inside puppet as having a ''key''
objecttype { objectkey:
optionalkey => value,
}
so if you leave out the attributes you still have to signify the key.
C
On 11/21/07, Juri Rischel Jensen <juri@fab-it.dk>
wrote:>
>
> On 21/11/2007, at 14.18, Rene Kapeller wrote:
>
> > class mytest {
> > exec { "/bin/echo $testvar" }
> > }
>
> You need a trailing colon:
>
> class mytest {
> exec { "/bin/echo $testvar": }
> } ^^^
>
>
> --
> Med venlig hilsen
> Juri Rischel Jensen
>
> Fab:IT ApS
> Vesterbrogade 50
> DK-1620 København
> Tlf: 70 202 407 / Fax: 33 313 640
> www.fab-it.dk / juri@fab-it.dk
>
>
>
> _______________________________________________
> Puppet-users mailing list
> Puppet-users@madstop.com
> https://mail.madstop.com/mailman/listinfo/puppet-users
>
--
stickm@gmail.com
-==< Stick >==-
_______________________________________________
Puppet-users mailing list
Puppet-users@madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-users