Skip to content

PSModuleRepositoryResource fails test if Repository already exists #14

Description

@J4nJ4nsen

That makes no sense, since it cannot be used to modify any existing repo, thus running every time a cfg is applied (each reboot, each push, each pull etc.)

(And what does it if it doesn't exists? Fails it too? So all tests fail everytime? I don't recognize what this is supposed to...)

Here the Output:
...
[Computer]: [[PSModuleRepositoryResource]PSRepository::[PackageMgmt]PackageMgmt] Found existing repository with name 'PSGallery' [Computer]: LCM: [ End Test ] [[PSModuleRepositoryResource]PSRepository::[PackageMgmt]PackageMgmt] False in 3.3920 seconds. [Computer]: LCM: [ End Resource ] [[PSModuleRepositoryResource]PSRepository::[PackageMgmt]PackageMgmt]
...

There were no other messages in between these output lines, so this seems to be the desired script behaviour and not a result of some other issue.

I use the actual version 0.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions