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

Bolt should amend PowerShell PSModulePath to allow for easily importing shared code

    Details

    • Type: Bug
    • Status: Ready for Engineering
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Windows
    • Labels:
    • Template:
    • Team:
      Bolt
    • Sprint:
      Bolt Ready for Grooming
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      Having to use relative paths to determine where shared module code is copied to remote systems when running PowerShell tasks can be problematic.

      It would be helpful if Bolt automatically added the default location for copied code to $ENV:PsModulePath so that end users can simply call Import-Module to load code. Similarly, it may be useful to have a small helper function specific to Bolt like Import-BoltCode to assist with this.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  ethan Ethan Brown
                  People Involved:
                  Ethan Brown, William Hurt
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated: