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 /etc/puppet/manifests/ modules/foo.pp:14" The only way I can get this syntax to work is to move the 'bar' definition outside of the foo class and refer to it by a name without '::' in it in foo2. Is there a way to override a definition with '::' in its name? --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---