Closed BarnumD closed 6 years ago
Thanks for the report @BarnumD. If the PackageManagementSource
DSC resource is not finding the actual package provider, that seems like a bug in the DSC resource implementation.
Do you have a working DSC manifest that performs the same task? The docs for that resource are available at https://docs.microsoft.com/en-us/powershell/dsc/packagemanagementdscresource
Given the following code, puppet errors with the error directly below.
If I change source to ProviderName I get the following error:
My best guess is that this is because the provider is installed:
But it is not 'imported':
Note, that I had installed the DockerMsftProvider with the following code:
How can I get it to use the installed packageprovider that's not imported into puppets current session? If I were in powershell, I think the answer would be
Import-PackageProvider -Name "DockerMsftProvider"
but I'm trying to make this work without exec statements.