Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-04-05 | (#14985) Alias module_name as calling_module | Andrew Parker | 1 | -1/+2 | |
The new implementation of calling_module turned out to be the same as puppet's own module_name. This makes it simply and alias so that we keep that as the definition of calling_module. | |||||
2013-03-21 | (Maint) Extract constant strings as constants | Andrew Parker | 1 | -10/+15 | |
2013-02-25 | (#14985) Preserve casing on looked up values | Andrew Parker | 1 | -3/+3 | |
The initial fix for looked up values downcased everything that was being returned. This causes problems when the data is not a string that the previous behavior was to only do this for the calling_class and calling_module. This commit us returns to that behavior. | |||||
2013-02-25 | (#14985) Ensure hostclass finder is private | Andrew Parker | 1 | -10/+12 | |
The nested definition of the recurse_for_hostclass method caused that method to be created lazily and as a public method. By pulling it out to be declared outside the calling method it can be made private and created only once. It has also been renamed to show the intention instead of the mechanism (recursion). | |||||
2013-02-25 | (#14985) Fix exception when nil is returned from inner scope | Avishai Ish-Shalom | 1 | -1/+1 | |
2013-02-25 | (#14985) Fix test, return downcase values and check for nil scope.source | Avishai Ish-Shalom | 1 | -2/+2 | |
2013-02-25 | (#14985) Fix hiera lookup for calling_module and calling_class | Avishai Ish-Shalom | 1 | -2/+12 | |
2012-06-10 | (maint) Follow Puppet Labs style guide + code cleanup | Kelsey Hightower | 1 | -39/+40 | |
The hiera-puppet code base now uses two space indentation. This patch also removes unnecessary calls to `Hiera::Scope`, which is no longer required because core Puppet's scope object allows variable lookup via the `[]` method. This commit includes updated specs. | |||||
2011-10-05 | added volcanes patch to allow calling_module and calling_class to be ↵ | Craig Dunn | 1 | -3/+11 | |
evaluated in scope | |||||
2011-06-11 | Add a hiera_include() function and update example | R.I.Pienaar | 1 | -0/+4 | |
2011-06-11 | Add array search support | R.I.Pienaar | 1 | -0/+8 | |
2011-06-04 | Add more tests, fix more bugs | R.I.Pienaar | 1 | -1/+1 | |
2011-06-04 | Add a puppet backend that impliments Nigels design | R.I.Pienaar | 1 | -4/+10 | |
2011-06-04 | Add a hash like wrapper around puppet scope | R.I.Pienaar | 1 | -0/+15 | |