Issue #7487 has been reported by Nigel Kersten.
----------------------------------------
Bug #7487: Multiple declarations of a parameterized class with the same
parameters should be allowed
https://projects.puppetlabs.com/issues/7487
Author: Nigel Kersten
Status: Accepted
Priority: Normal
Assignee:
Category:
Target version: Telly
Affected Puppet version:
Keywords:
Branch:
You should be able to do:
<pre>
class { "foo": someparam => "bar" }
</pre>
multiple times so long as the parameters remain the same.
If you attempt to declare a class with different parameters multiple times,
Puppet should still fail hard, just like it does now, but with an error message
saying something like:
`Class "foo" was previously declared with "someparam => bar", cannot re-declare
with "someparam => bar2"`
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.