Issue #20223 has been updated by Josh Cooper.

Status changed from Unreviewed to Accepted

Hi Frederic, thanks for the report. Puppet provides absolute paths to rdoc, 
e.g. C:/ProgramData/PuppetLabs/puppet/etc/modules, and rdoc appends that to the 
`doc/files`, assuming it will result in a valid path, but on windows ':' is not 
a valid path character. This does seem to be a bug in rdoc. One workaround is 
to pass in relative paths to rdoc, relative to the current drive letter on 
windows.

----------------------------------------
Bug #20223: puppet doc fails under windows
https://projects.puppetlabs.com/issues/20223#change-89250

* Author: Frederic Schaer
* Status: Accepted
* Priority: Normal
* Assignee: 
* Category: documentation
* Target version: 
* Affected Puppet version: 3.1.1
* Keywords: puppet rdoc
* Branch: 
----------------------------------------
Hi,

puppet 3.1.1 seems unable to generate documentation on windows, either under 
cygwin or in a plain DOS cmd.

It fails with the attached error (I don't know how to paste code in here).

It seems it is trying to create the files/C: dir, and all other directories 
using the "C:" part of the path.
I'm not sure this is a puppet or a ruby issue, but since ruby is shipped with 
puppet under windows...

I tried to see if I could work around that with string substitution (replace 
the '/' with '\', and the ':' with '_', but since I'm a ruby newbie, I've been 
unable for now to find out what generates the file listes used everywhere in 
the code.

Regards


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to