Package: puppetmaster
Version: 0.25.1-3
Severity: important

I found nothing in the documentation about this, so it maybe just a
documentation bug, but for me the behaviour is surprising:

| class test {
|   @@sshkey { $fqdn: type => rsa, key => $sshrsakey, alias => ["test"] }
| } 
| class test {
|   Sshkey[$fqdn] { alias => ["test"] }
| }
| include test

This example bails out because of the redefinition on the alias
parameter, not because of the redefinition of the class.

The second class definition is merged with the first, something no other
language allows. As the complete namespace is flat, this can produce
hard to find problems.

Bastian

-- 
There is a multi-legged creature crawling on your shoulder.
                -- Spock, "A Taste of Armageddon", stardate 3193.9



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to