Hi! I'm having trouble using type Stdlib::Windowspath, from module puppetlabs/stdlib, as a parameter type in a manifest. Is this "custom type" really available? In https://github.com/puppetlabs/puppetlabs-stdlib/blob/master/types/windowspath.pp it is defined using the "type" word, which, according to the latest doc ( https://docs.puppet.com/puppet/latest/lang_reserved.html#reserved-words), is "reserved for future use".
*1. Puppet version (Windows 7):* C:\>puppet --version 4.2.1 *2. puppetlabs/stdlib version* C:\>puppet module list --modulepath=c:\git\winpuppet\test\modules c:/git/winpuppet/test/modules +-- mymodule (???) +-- puppetlabs-stdlib (v4.14.0) *3. Manifest (%MODULEPATH%\mymodule\manifests\mymanifest.pp):* class mymodule::mymanifest ( String $string_param = 'a string', Stdlib::Windowspath $windowspath_param = 'C:\a\valid\path') { notice($string_param) notice($windowspath_param) } *4. Execution/error message:* C:\>puppet apply --modulepath=c:\git\winpuppet\test\modules -e "include mymodule::mymanifest" Error: Evaluation Error: Error while evaluating a Function Call, Expected parameter 'windowspath_param' of 'Class[Mymodule::Mymanifest]' to have type Stdlib::Windowspath, got String at line 1:1 on node xxx.yyy.zzz If, instead, I use a nonexistent type in the manifest, such as "My_nonexistent_type", I got the same error message: C:\>puppet apply --modulepath=c:\git\winpuppet\test\modules -e "include mymodule::mymanifest" Error: Evaluation Error: Error while evaluating a Function Call, Expected parameter 'windowspath_param' of 'Class[Mymodule::Mymanifest]' to have type My_nonexistent_type, got String at line 1:1 on node xxx.yyy.zzz -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/057190bf-a811-4135-8fc4-ffab54d58561%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.