-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Labels
bugSomething isn't workingSomething isn't working

Description
Describe the Bug
When using Dsc_smbshare I get Value type mismatch: dsc_path when the share doesn't exist. If the share already exists it's doesn't error out.
Notice: /Stage[main]/Main/Node[computer1]/File[e:\Integrations]/ensure: created (corrective)
Error: /Stage[main]/Main/Node[computer1]/Dsc_smbshare[Integrations]: Could not evaluate: Provider returned data that does not match the Type Schema for `dsc_smbshare[Integrations]`
Value type mismatch:
* dsc_path: (expects a String value, got Undef)
Expected Behavior
Puppet to create the smb share
Steps to Reproduce
Puppet manifest
file {
'e:\Integrations':
ensure => directory;
}
dsc_smbshare {
'Integrations':
dsc_ensure => 'Present',
dsc_name => 'Integrations',
dsc_path => 'e:\Integrations',
dsc_description => 'Integrations',
dsc_fullaccess => ["administrators"],
dsc_folderenumerationmode => 'AccessBased';
}
Environment
- Version 8.3.1
- Platform Windows 2019
Module versions:
mod 'puppetlabs-powershell', '6.0.0'
mod 'puppetlabs-pwshlib', '1.0.1'
mod 'dsc-computermanagementdsc', '9.0.0-0-6'`
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working