Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore warnings with Get-PSRepository and Get-Package. #25

Closed
wants to merge 2 commits into from

Conversation

jrdbarnes
Copy link

As per Issue 22 when server does not have internet access, Get-PSRepository throws two warnings which cause fatal errors in execution.

@jrdbarnes jrdbarnes changed the title Ignore warnings with Get-PSRepository. Ignore warnings with Get-PSRepository and Get-Package. Mar 25, 2019
@rridge532
Copy link

@hbuckle I'd love to see this fix implemented as I've run into the same issue in my environment where there is often no PSRepository registered when Puppet attempts to run using this resource for the first time.

@wmaniek123
Copy link

Does it's going to be fixed ? It's problematic for the deployments without internet connection. It's breaking even package resource that are not interacting with psrepository at all (e.g. MSI install)

@rridge532
Copy link

@wmaniek123 I've been watching this for a while with no luck, I'd recommend forking the project yourself. It's a pretty stable module with this fix included and hasn't seemed to get any updates for over a year now.

@nmaludy
Copy link
Contributor

nmaludy commented Apr 24, 2020

@Robert532 @wmaniek123 @jrdbarnes We have forked this repo and are maintaining it here: https://github.com/EncoreTechnologies/puppet-powershellmodule

Specifically this PR can be found here: EncoreTechnologies#4

@jrdbarnes jrdbarnes closed this Feb 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants