R.I.Pienaar wrote :

> > Maybe I'm going nuts, but I could have sworn reading about a trick or
> > new feature which allowed to have a definition parameter get a
> > default value of the definition's own $title (instead of having the hack
> > around the limitation with selectors and intermediate variables later on).
> 
> try $name, that should do it, came in somewhere mid 2.6.x series

Yup, that was it!

Section "$name can now be used to set default values in defined
resource types" in the release notes :
https://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes

And this is the original feature request :
https://projects.puppetlabs.com/issues/5061

Thanks for the quick pointer :-)

Matthias

-- 
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Fedora release 14 (Laughlin) - Linux kernel 2.6.35.13-91.fc14.x86_64
Load : 0.33 0.39 0.55

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to