Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-2190

Accessing resource metaparameters fails in future evaluator

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • PUP 3.5.0
    • PUP 3.6.0
    • Compiler
    • 1
    • Week 2014-4-09 to 2014-4-16, Week 2014-4-16 to 2014-4-23

    Description

      Accessing regular parameters works fine, and when accessing unknown ones you get a decent error message. But when trying to access metaparameters you get a bad internal error

      notify{foo:}
      notify{Notify[foo][tag]:}
      

      Gives:

      Error: Evaluation Error: Error while evaluating a '[]' expression, undefined method `value' for nil:NilClass at line 1:33 on node 10.48.20.37.office.spotify.net
      Error: Evaluation Error: Error while evaluating a '[]' expression, undefined method `value' for nil:NilClass at line 1:33 on node 10.48.20.37.office.spotify.net
      

      Attachments

        Issue Links

          Activity

            People

              andy Andrew Parker
              dalen Erik Dalén
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support