Uploaded image for project: 'Puppet Task Runner'
  1. Puppet Task Runner
  2. BOLT-1199

Fact to check whether a catalog is being compiled by bolt.

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: BOLT 1.16.0
    • Component/s: None
    • Labels:
    • Template:
    • Sprint:
      Bolt Kanban
    • Release Notes:
      Enhancement
    • Release Notes Summary:
      When bolt is compiling a catalog the {{$facts['bolt']}} fact is set to {{true}}.
    • QA Risk Assessment:
      Needs Assessment

      Description

      To update existing modules in a non-breaking fashion to work with bolt it's sometimes useful to know whether they are being used from a bolt catalog or not.

      Example:
      The selinux module uses the puppet_vardir fact to decide where to build selinux modules. This is a weird place for them and definitely will not work with bolt since that vardir is temporary and isn't even consistent between fact collection and catalog execution.

      Requirements:
      When bolt is compiling a catalog the facts['bolt'] fact should be set to true.

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                alex Alex Dreyer
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: