Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Puppet no longer returns :undefined as a special value from variable
lookups. This commit removes this extra check from the Hiera puppet
backend.
|
|
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.
|
|
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.
|
|
The hiera puppet backend called the include function without passing the
argument as an array. This changes it to call the function correctly.
|
|
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.
|
|
Synchronize with the way backends work in Hiera 1.0 by starting with nil
instead of Backend.empty_answer
|
|
Puppet support hashes, so hiera-puppet backend should also support hash
values.
|
|
|
|
|
|
Fix some unfriendly behavior wrt class names that don't resolve using scope
|
|
|
|
|
|
|