Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-3715

ensure_resource fails with undef parameter

    Details

    • Type: Bug
    • Status: Needs Information
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: stdlib
    • Labels:
      None
    • Template:

      Description

      Since puppet version 4.5.2 the puppet code below fails with a "Duplicate declaration", it worked in 4.5.1 and earlier releases. From the description of PUP-6385 I assume it was caused by the fix to that issue, although I haven't looked into what was actually changed.

      puppet apply -e 'define foo($foo) { } ensure_resource("foo", "FOO", { foo => undef }) ensure_resource("foo", "FOO", { foo => undef })'
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rtollevik Rein Tollevik
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Zendesk Support