PSDscResources
PSDscResources copied to clipboard
psdscresources: dsc_ensure changed 'Present' to 'present' (corrective)
I upgrade from: mod 'dsc-psdscresources', '2.12.0-0-2' mod 'puppetlabs-pwshlib', '0.8.0' to: mod 'dsc-psdscresources', '2.12.0-0-9' mod 'puppetlabs-pwshlib', '1.1.0'
My code: dsc_service {'config_lanmanworkstation': dsc_ensure => present, dsc_name => 'lanmanworkstation', dsc_dependencies => ['Bowser', 'MRxSmb10', 'MRxSmb20' ,'NSI'], dsc_state => 'running' }
There is no error before upgrade.
I am getting correction run: Dsc_service[config_lanmanworkstation]File: Line: | Corrective change | Running | running Dsc_service[config_lanmanworkstation]File: Line: | Corrective change | Present | present
dsc_ensure changed 'Present' to 'present' (corrective) Source: /Stage[main]/Profile::Enable_smb1protocol/Dsc_service[config_lanmanworkstation]/dsc_ensure dsc_state changed 'Running' to 'running' (corrective) Source: /Stage[main]/Profile::Enable_smb1protocol/Dsc_service[config_lanmanworkstation]/dsc_state
I tried to change: dsc_state => 'Running' this resolve one corrective issue.
dsc_ensure => Present, caused run failed.
This is on Windows Server 2019. How do I fix this corrective issue?
Hi, it should be fixed by this PR : https://github.com/puppetlabs/ruby-pwsh/pull/291