You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above results in the following error, because of identical key:
Test-ConflictingResources : A conflict was detected between resources
'[PackageManagementSource]ChocoChocoPackageManagementSource
(D:\DscService\Build\Modules\MyDSCConfigModule\0.0.2.14\MyDSCConfigModule.psm1::1043::5::PackageManagementSource)' and
'[PackageManagementSource]ChocoChocoGetPackageManagementSource
(D:\DscService\Build\Modules\MyDSCConfigModule\0.0.2.14\MyDSCConfigModule.psm1::1051::5::PackageManagementSource)' in
node someserver.somedomain.sometld'. Resources have identical key properties but there are differences in the following
non-key properties: 'ProviderName'. Values 'Chocolatey' don't match values 'ChocolateyGet'. Please update these
property values so that they are identical in both cases.
I would suggest changing ProviderName to also be a key property
The text was updated successfully, but these errors were encountered:
uw-dc
changed the title
MSFT_PackageManagementSource:
MSFT_PackageManagementSource: Resource conflict because ProviderName not part of key
Sep 29, 2022
After installing
ChocolateyGet
package provider, I have these Package Sources:I want to use
PackageManagementSource
DSC resource to remove bothchocolatey
package sources:The above results in the following error, because of identical key:
I would suggest changing ProviderName to also be a
key
propertyThe text was updated successfully, but these errors were encountered: