[Pkg-puppet-devel] Bug#563558: puppetmaster - Classes nested in nodes are also merged

Bastian Blank waldi at debian.org
Sun Jan 3 19:01:56 UTC 2010


Package: puppetmaster
Version: 0.25.1-3
Severity: normal

The following does not work:
| class test {
|   sshkey { $fqdn: type => rsa, key => $sshrsakey, alias => ["test"] }
| }
| 
| node a {
|   class alias inherits test {
|     Sshkey[$fqdn] { alias => ["test"] }
|   }
|   include alias
| }
| 
| node default {
|   class alias inherits test {
|     Sshkey[$fqdn] { alias => ["test"] }
|   }
|   include alias
| }

Both "alias" classes are merged as if node does not define its own
namespace. The documentation and my tests shows that this works with
nested classes so I'm surprised that it does not work in node
definitions.

Bastian

-- 
Oblivion together does not frighten me, beloved.
		-- Thalassa (in Anne Mulhall's body), "Return to Tomorrow",
		   stardate 4770.3.





More information about the Pkg-puppet-devel mailing list