Issue #4822 has been reported by Paul Berry.
----------------------------------------
Bug #4822: Puppet doc -o option appears broken
http://projects.puppetlabs.com/issues/4822
Author: Paul Berry
Status: Accepted
Priority: Normal
Assignee: Paul Berry
Category: documentation
Target version: 2.6.2
Affected version: 2.6.0
Keywords:
Branch:
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.