-
Couldn't load subscription status.
- Fork 133
Open
Labels
bugThe issue is a bug.The issue is a bug.help wantedThe issue is up for grabs for anyone in the community.The issue is up for grabs for anyone in the community.
Description
Problem description
When I pass invoke a dsc_xservice resource using below puppet code
**dsc_xservice { $service_item:
dsc_name => $service_setting[dsc_name],
dsc_desktopinteract => $service_setting[dsc_desktopinteract],
dsc_state => $service_setting[dsc_state],
dsc_startuptype => $service_setting[dsc_startuptype],
dsc_credential => {
'user' => "${root_domain}\\${service_setting[dsc_credential][user]}",
'password' => Sensitive($service_user_pw),
},
}**
I get an warning like below
**Provider returned data that does not match the Type Schema for dsc_xservice[SetSqlServerAgentServiceUser]
Value type mismatch:
- dsc_builtinaccount: smartplantcloud\KMT03-DBS-001-SQLAGT (expects an undef value or a match for Enum['LocalService', 'LocalSystem', 'NetworkService', 'localservice', 'localsystem', 'networkservice'], got 'smartplantcloud\KMT03-DBS-001-SQLAGT')**
And the resource is always showing up as a corrective change from running to ignored, this was working with the module puppetlabs-dsc
Verbose logs
N/A
DSC configuration
dsc_xservice { $service_item:
dsc_name => $service_setting[dsc_name],
dsc_desktopinteract => $service_setting[dsc_desktopinteract],
dsc_state => $service_setting[dsc_state],
dsc_startuptype => $service_setting[dsc_startuptype],
dsc_credential => {
'user' => "${root_domain}\\${service_setting[dsc_credential][user]}",
'password' => Sensitive($service_user_pw),
},
}Suggested solution
N/A
Operating system the target node is running
N/A
PowerShell version and build the target node is running
N/A
xPSDesiredStateConfiguration version
9.1.0-0-4
Metadata
Metadata
Assignees
Labels
bugThe issue is a bug.The issue is a bug.help wantedThe issue is up for grabs for anyone in the community.The issue is up for grabs for anyone in the community.