]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
(#8010) Add getvar() rvalue function
authorJeff McCune <jeff@puppetlabs.com>
Tue, 21 Jun 2011 21:10:33 +0000 (14:10 -0700)
committerJeff McCune <jeff@puppetlabs.com>
Tue, 21 Jun 2011 22:12:46 +0000 (15:12 -0700)
commit2bca41a9c41225ecb794134c006908cb197bb8e2
treec1de90660b0487acfd2066e4d33979c660f2ca9c
parentc642cf4947b3cb7f0b845acee5cc483adc9c0aef
(#8010) Add getvar() rvalue function

This isn't directly related to #8010, but rather indirectly fills the
need to allow the end user to configure where data values are looked up.

This allows the namespace to be passed as a class parameter.  A module
may then quickly and easily look up data from the user-defined
namespace.
lib/puppet/parser/functions/getvar.rb [new file with mode: 0644]
spec/unit/puppet/parser/functions/getvar_spec.rb [new file with mode: 0644]