[Puppet Users] Re: Inheritance syntax question

2008-10-08 Thread steve caldwell
On Oct 8, 1:31 am, Peter Meier [EMAIL PROTECTED] wrote: it's Foo::Bar[default] { That worked perfectly, thanks Pete! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send

[Puppet Users] Inheritance syntax question

2008-10-07 Thread steve caldwell
If I try the following: class foo { define bar ($text) { file {/tmp/foo.txt: content = $text, } } bar { hello: text = 'Hello World', } } class foo2 inherits foo { Foo::bar[default] { text = 'Hello World Again', } } I get: Syntax error at ':'; expected '}' at