Bug #589
Components in namespaces cannot have defaults set
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | High | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | language | |||
| Target version: | 0.25.0 | |||
| Affected Puppet version: | 0.25.4 | Branch: | ||
| Keywords: | ||||
| Votes: | 0 |
Description
class foo {
define bar ($var) {
debug($var)
}
}
Foo::bar { var => 'test' }
Foo::Bar { var => 'test' }
foo::Bar { var => 'test' }
bar { test: }
All three variants produce the error message “Syntax error at ‘:’ at …”
This makes it impossible to set defaults for components defined in a namespace.
I’ve tested this with 0.22.1 and current SVN. Same results.
History
Updated by Luke Kanies almost 5 years ago
- Status changed from 1 to 2
Updated by Luke Kanies almost 5 years ago
This requires #632 to be fixed first, and will likely get fixed as part of that bug.
Updated by Luke Kanies over 4 years ago
- Status changed from 2 to Closed
- 7 set to fixed
Fixed in r2691.