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

Add file::exists and file::readable functions

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: BOLT 1.21.0
    • Component/s: None
    • Template:
    • Team:
      Bolt
    • Sprint:
      Bolt Kanban
    • Release Notes:
      New Feature
    • Release Notes Summary:
      Added two new functions bundled with Bolt, {{file::exists}} and {{file::readable}}. These test whether a given file exists and is readable, respectively.
    • QA Risk Assessment:
      Needs Assessment

      Description

      When working with local files in a plan, it's helpful to be able to verify whether they exist and are readable before trying to use them. For example, setting up a new host might involve copying over whichever of a set of files are present on the local machine. We should have built-in functions for checking the existence and readability of a local file.

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                cas.donoghue Cas Donoghue
                Reporter:
                nick Nick Lewis
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: