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

Add 'scripts' directory to Puppet Module type

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 7.6.0
    • Component/s: None
    • Labels:
    • Template:
    • Team:
      Bolt
    • Release Notes:
      Enhancement
    • Release Notes Summary:
      Hide
      Added a new subdirectory to the Module class `scripts/` which
      automatically generates the functions `scripts?()`, `scripts()`, and
      `script()` on the class for retrieving available scripts. This will help in the future standardize on more specific file
      loading from either the `files` directory or `scripts` directory in a
      module.
      Show
      Added a new subdirectory to the Module class `scripts/` which automatically generates the functions `scripts?()`, `scripts()`, and `script()` on the class for retrieving available scripts. This will help in the future standardize on more specific file loading from either the `files` directory or `scripts` directory in a module.
    • QA Risk Assessment:
      Needs Assessment

      Description

      Based on this Bolt Github issue. This change is expected to impact all Puppet modules and enable loading scripts from the scripts/ directory of a Puppet module.
      https://github.com/puppetlabs/bolt/issues/2729

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lucy Lucy Voigt
              Reporter:
              lucy Lucy Voigt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support