Issue #17474 has been updated by Patrick Carlisle.

Assignee set to Patrick Carlisle


----------------------------------------
Bug #17474: Indirector treats false from a terminus as nil
https://projects.puppetlabs.com/issues/17474#change-82621

Author: Bruno Leon
Status: In Topic Branch Pending Review
Priority: Normal
Assignee: Patrick Carlisle
Category: 
Target version: 
Affected Puppet version: 
Keywords: false
default
Branch: 


Here is a sample class:

    class test ( $myparam = true, ) {
      if $myparam {
        notify { 'I am true': }
      }
    }

Calling it without anything in hiera:

    notice: /Stage[main]/Test/Notify[I am true]/message: current_value absent, 
should be I am true (noop)

Now in hiera you set:
    test::myparam: false

However, when calling the class this still leads to the same result:
    notice: /Stage[main]/Test/Notify[I am true]/message: current_value absent, 
should be I am true (noop)


Obviously the param has not been overidden, even though the value is correctly 
returned by Hiera if you do a lookup with hiera() directly.
This is somewhat similar to Bug #17105.





-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to