Issue #5061 has been updated by Dan Bode. Assignee deleted (Dan Bode)
---------------------------------------- Feature #5061: should be able to access ($name, $module_name, $title) from within defined resources type parameter list https://projects.puppetlabs.com/issues/5061 Author: Dan Bode Status: Ready for Testing Priority: Normal Assignee: Category: parser Target version: Statler Affected Puppet version: 0.25.5 Keywords: Branch: http://github.com/bodepd/puppet/tree/feature/master/5061 users commonly want the default for a parameter for a defined resource type to be $name <pre> define manage_users ($home => "/home/${name}") { file { $home: ensure => directory, } } </pre> this currently does not work because $name is not available (or assigned to manage_users scope )when "/home/${name}" is evaluated. -- 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.
