summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/autoload.rb
diff options
context:
space:
mode:
authorDan Bode <bodepd@gmail.com>2010-10-24 00:49:03 -0500
committerPaul Berry <paul@puppetlabs.com>2011-02-01 15:49:52 -0800
commitce5a2bf3ba66d5ce723a6887580b008e8ba4104b (patch)
tree7845397d260a57391a8c1adbfe8bbf746d248e7d /lib/puppet/util/autoload.rb
parent1ab9bd833237c7cf2036989a58a1b22d3cc49a5b (diff)
downloadpuppet-ce5a2bf3ba66d5ce723a6887580b008e8ba4104b.tar.gz
puppet-ce5a2bf3ba66d5ce723a6887580b008e8ba4104b.tar.xz
puppet-ce5a2bf3ba66d5ce723a6887580b008e8ba4104b.zip
(#5061) - allow special hostclass/define variables to be evaluated as defaults.
I have always been annoyed that special variables for defines and hostclasses can not be evaluated as param defaults. Special variables are: $name, $title, $module_name. Code example: class x ( foo = $name ) { notice($foo)} should print x, and with my patch, it does. Reviewed-by: Paul Berry <paul@puppetlabs.com>
Diffstat (limited to 'lib/puppet/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions