Skip to content

(#17474) Make it possible to return false from a terminus#1451

Merged
joshcooper merged 1 commit intopuppetlabs:masterfrom
pcarlisle:ticket/17474-indirection-false
Feb 9, 2013
Merged

(#17474) Make it possible to return false from a terminus#1451
joshcooper merged 1 commit intopuppetlabs:masterfrom
pcarlisle:ticket/17474-indirection-false

Conversation

@pcarlisle
Copy link
Contributor

This manifested as an inability to retrieve the value false from hiera using
data bindings. The find method on Puppet::Indirection interpreted this as no
value being returned.

This manifested as an inability to retrieve the value `false` from hiera using
data bindings. The find method on Puppet::Indirection interpreted this as no
value being returned.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pcarlisle why do we go through the process of preparing the request and looking in the cache, only then to check if the request ignores the terminus? Seems like that could be moved much earlier, but of course, there are probably side-effects that would prevent us from doing that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know, I just preserved the preexisting logic. It seemed like it would be a behavior change.

@joshcooper joshcooper merged commit bfdcd98 into puppetlabs:master Feb 9, 2013
@jacac
Copy link

jacac commented Jul 13, 2015

I'm using puppet version 3.8.1 and hiera 1.3.4 and still seeing the same issue as mentioned in Bug#17474.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants