Issue #13055 has been updated by Nigel Kersten.
<pre> Z:\>puppet apply --modulepath z:\nbk\src\modules -e 'include exe_to_msi' warning: Could not retrieve fact fqdn Duplicate declaration: Package[exe_to_msi_pkg] is already declared in file z:\nbk\src\modules/exe_to_msi/manifests/init.pp at line 6; cannot redeclare at z:/nbk/src/modules/exe_to_msi/manifests/init.pp:6 on node win-g2ffmj36tu1 </pre> However this works: <pre> Z:\>puppet apply --modulepath z:/nbk/src/modules -e 'include exe_to_msi' </pre> ? ---------------------------------------- Bug #13055: On Windows, the autoloader gets confused by backslashes in a modulepath https://projects.puppetlabs.com/issues/13055#change-58572 Author: Nigel Kersten Status: Needs More Information Priority: Normal Assignee: Nigel Kersten Category: windows Target version: Affected Puppet version: Keywords: windows Branch: (Feel free to bounce back to me if I haven't given enough data) <pre> puppet apply --modulepath="Z:\path\to\my\modules" "Z:\path\to\my\site.pp" </pre> When you use backslashes, puppet tries to parse the modules twice, and gets all confused with duplicate resource definitions. Switching the modulepath to `Z:/path/to/my/modules` worked as a workaround. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
