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

scope.function_getparam does not work in ERB templates (future parser)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Incomplete
    • Affects Version/s: PUP 3.8.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Template:
    • Team:
      Puppet Developer Experience
    • QA Risk Assessment:
      Needs Assessment

      Description

      Code example
      template.erb;

      <%= scope.function_getparam( [@server,'ip_address'] ) %>
      

      Within Puppet 3.8, without `parser = future` this functions. With, it does not provide an error. I receive an empty strings in the result instead of expected value.

      I found, PUP-4328 - and I assume it is kinda resembling the same issue.

        Attachments

          Activity

            People

            Assignee:
            FAT32 rr
            Reporter:
            FAT32 rr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support