Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-8971

Create a or a set of Rubocop rules to audit for Ruby native calls to the filesystem.

    XMLWordPrintable

    Details

    • Type: Epic
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: windows
    • Labels:
    • Epic Name:
      Rubocop FileSystem Rule
    • Template:
    • Acceptance Criteria:
      Hide

      All Windows module should be verifiably in compliance with the stated strategy that providers should not make native file system API calls, and instead should prefer the Puppet core helpers provided.

      Show
      All Windows module should be verifiably in compliance with the stated strategy that providers should not make native file system API calls, and instead should prefer the Puppet core helpers provided.
    • Team/s:
      Windows
    • QA Risk Assessment:
      Needs Assessment

      Description

      An effort is underway to ensure that module providers do not directly call file system API's to do file operations. Providers should be calling the Puppet core helper instead.

      This will ensure consistency of filesystem behavior, and ensure there is a single place in the product where file system handling can be centralized.

      This Epic tracks the work to ensure that all modules can be programmatically audited for the kinds of direct API calls we are trying to avoid. When a module is found to be an offender a new epic should be created and tickets created within to cover the work of patching it to bring it into compliance with this strategy.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            william.hurt William Hurt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support