puppetlabs / Puppet.Dsc

Convert DSC resources into Puppet Resource API types and providers
https://www.powershellgallery.com/packages/Puppet.Dsc
Apache License 2.0
9 stars 12 forks source link

Re-Puppetize - [MODULE NAME] #293

Closed amandaharth closed 3 months ago

amandaharth commented 3 months ago

DSC Resource name

Why do you want us to Re-Puppetize this module?

The type schema for the dsc_useraccountcontrol resource type doesn't match the data returned by its provider. Example error:

Error: /Stage[main]/Profile::Windows::User_account_control/Dsc_useraccountcontrol[Configure User Account Control]: Could not evaluate: Provider returned data that does not match the Type Schema for `dsc_useraccountcontrol[Configure User Account Control]`
 Value type mismatch:
    * dsc_consentpromptbehavioradmin: 5 (expects an undef value or a match for Enum['0', '1', '2', '3', '4', '5'], got Integer)
    * dsc_consentpromptbehavioruser: 3 (expects an undef value or a match for Enum['0', '1', '3'], got Integer)
    * dsc_enableinstallerdetection: 1 (expects an undef value or a match for Enum['0', '1'], got Integer)
    * dsc_enablelua: 1 (expects an undef value or a match for Enum['0', '1'], got Integer)
    * dsc_enablevirtualization: 1 (expects an undef value or a match for Enum['0', '1'], got Integer)
    * dsc_promptonsecuredesktop: 1 (expects an undef value or a match for Enum['0', '1'], got Integer)
    * dsc_validateadmincodesignatures: 0 (expects an undef value or a match for Enum['0', '1'], got Integer)
jordanbreen28 commented 3 months ago

thanks for raising this @amandaharth! I've published version 9.1.0-0-1 of dsc-computermanagementdsc. Please note the autogenerated puppet dsc modules are no longer officially supported, so if the repuppetize does not fix the issue there might not be anything we can do on our end to fix this! We are absolutely willing to still accept PRs that fix dsc module bugs in Puppet.Dsc and ruby-pwsh though.

Thanks again!