On Mon, Nov 22, 2010 at 05:54:48PM +0000, Dean Wilson wrote: > From my understanding there is basic support for types with composite > keys in the code base from 2.6 onwards. > > Might be worth looking at https://github.com/lak/puppet/commit/7c6b883 > as a starting point.
It sounds interesting but it may take some time for me to understand
whats happening there. I also wonder how you address a resource in
puppet manifests then. If you can do something like
port {
'telnet': protocol=>'tcp', number=>'22';
'telnet': protocol=>'udp', number=>'22';
}
some_fancy_other_resource xyz {
...
require Port['telnet??']
}
> I'd be interested in seeing an example type using a composite namevar
Me too.
-Stefan
pgpPlyl4XTVrC.pgp
Description: PGP signature
