summaryrefslogtreecommitdiff
path: root/lib/hiera/backend/puppet_backend.rb
AgeCommit message (Collapse)AuthorFilesLines
2013-05-28(Maint) Remove unused variablesErik Dalén1-1/+1
2012-11-16(#16178) Stop checking for :undefinedAndrew Parker1-2/+0
Puppet no longer returns :undefined as a special value from variable lookups. This commit removes this extra check from the Hiera puppet backend.
2012-11-15(Maint) Require Hiera::Backend where it is usedAndrew Parker1-0/+2
Previously the Hiera::Backend::Puppet_backend code assumed that Hiera::Backend had already been included. This was not true, at least in the tests. This commit has the backend require the files that it expects to already be loaded for it to work correctly.
2012-11-15(#16178) Handle the case where temp_answer is false but defined.Matt Callaway1-3/+4
Consider: ```` class foomodule::params { $myitem = false ... ```` The current code won't handle this because `if temp_answer` is the same as `if false`. This commit changes it to use `temp_anser.nil?` instead.
2012-09-11(#15756) Call include function correctlyAndrew Parker1-2/+2
The hiera puppet backend called the include function without passing the argument as an array. This changes it to call the function correctly.
2012-06-10(maint) Follow Puppet Labs style guide + code cleanupKelsey Hightower1-79/+87
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.
2012-06-06(#12122) Use nil as default answer in lookupPatrick Carlisle1-1/+3
Synchronize with the way backends work in Hiera 1.0 by starting with nil instead of Backend.empty_answer
2012-01-19(#12037) hiera-puppet should support hash values.Nan Liu1-0/+2
Puppet support hashes, so hiera-puppet backend should also support hash values.
2011-06-11Add a hiera_include() function and update exampleR.I.Pienaar1-1/+6
2011-06-11Add array search supportR.I.Pienaar1-15/+34
2011-06-06Add a example setupR.I.Pienaar1-1/+3
Fix some unfriendly behavior wrt class names that don't resolve using scope
2011-06-04Add tests and fix bugs found with testsR.I.Pienaar1-4/+4
2011-06-04Add a debug statementR.I.Pienaar1-0/+1
2011-06-04Add a puppet backend that impliments Nigels designR.I.Pienaar1-0/+63