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

ensure_resource fails with undef parameter

    XMLWordPrintable

Details

    • Bug
    • Status: Needs Information
    • Major
    • Resolution: Unresolved
    • None
    • None
    • stdlib
    • None

    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

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

              Dates

                Created:
                Updated:

                Zendesk Support