Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: BOLT 1.13.0
    • Component/s: None
    • Template:
    • Acceptance Criteria:
      Hide

      emphasized text

      Show
      emphasized text
    • Team:
      Bolt
    • Sprint:
      Bolt Kanban
    • Method Found:
      Needs Assessment
    • Release Notes:
      Enhancement
    • Release Notes Summary:
      Provide clear error messages when plan functions not meant to be called in apply blocks are used.
    • QA Risk Assessment:
      Needs Assessment

      Description

      Puppet Version: 6.x

      Using plan functions from manifest code generates a cryptic error message about the bolt library.

      Desired Behavior:

      The error message should be something close to

      "Plan language function #

      {action}

      cannot be used from declaritive manifest code or apply blocks"

      Examples:
      bolt apply -e "run_task(foo,bar)"

      There is no reason to use the Puppet error message anymore the run_ functions should generate this message directly when called from compilation during an apply

      When this work is released we should ticket removing the error messages from a future version of puppet.

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                cas.donoghue Cas Donoghue
                Reporter:
                alex Alex Dreyer
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: