Issue #13055 has been updated by Nigel Kersten.

I'll get you more useful details, but I literally just installed the out of the 
box version, created a directory for modules, and pointed --modulepath at that. 

"site.pp" was just "include myclass".

The module should not have been accessible via modulepath and libdir.
----------------------------------------
Bug #13055: On Windows, the autoloader gets confused by backslashes in a 
modulepath
https://projects.puppetlabs.com/issues/13055#change-57340

Author: Nigel Kersten
Status: Accepted
Priority: Normal
Assignee: Jeff McCune
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.

Reply via email to