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

Type without namevar causes failures with no error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.3.2
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      1
    • Sprint:
      Language 2015-12-30, Language 2016-01-13
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Faulty implementation of a resource type could lead to compilation/apply that failed without presenting a reason. Such problems are now logged.

      Description

      When trying to compile a catalog with a resource type that does not have a namevar specified in the type (ie, no parameter with `:namevar => true` and no `isnamevar` call) then the puppet run will exit 1 as soon as the catalog compile is finished with no back trace, error message, or any other indicator that anything is wrong.

      This makes it extremely difficult to debug (ie, guessing at what is missing).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                hunter Hunter (Hunner) Haugen
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support