Issue #4822 has been updated by Markus Roberts.

Status changed from Ready for Checkin to Closed

Pushed to 2.6.x as commit:4798df328526d08644ea40161dcd2c88799b57db
----------------------------------------
Bug #4822: Puppet doc -o option broken
http://projects.puppetlabs.com/issues/4822

Author: Paul Berry
Status: Closed
Priority: Normal
Assignee: Paul Berry
Category: documentation
Target version: 2.6.2
Affected version: 2.6.0
Keywords: 
Branch: http://github.com/stereotype441/puppet/tree/ticket/2.6.x/4822


This is one of the issues underlying bug #4798.  I'm splitting it out into its 
own ticket so that we can keep track of it separately.

I have files in the local dir as follows:

site.pp:
<pre>
#foo
</pre>

modules/rt/manifests/rt.pp:
<pre>
# A class
class foo { }

# A define
define bar { }

# A node
node baz { }
</pre>

Now, using commit 3904ad734c483bded332fe4978e87ef46b46175d (which fixes the 
"import loop detected" manifestation of bug #4798), if I run puppetdoc like 
this, it works fine:
<pre>
puppet doc -m rdoc --modulepath=modules --manifest=site.pp --trace --debug
</pre>

But if I add the "-o" option:
<pre>
puppet doc -m rdoc --modulepath=modules --manifest=site.pp --trace --debug -o 
/tmp/doc
</pre>

Then the only output I get is this:
<pre>
info: scanning: ["/tmp/doc"]
</pre>

And no /tmp/doc directory is created.

I've confirmed that the "-o" option used to work in 0.25.x.


-- 
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