Here's the command I use:

puppetdoc  --outputdir /..../htdocs/puppetmaster \
--mode rdoc --manifestdir /etc/puppet/manifests \
--modulepath /etc/puppet/modules

I hope this helps.

“Sometimes I think the surest sign that intelligent life exists elsewhere in 
the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)

----- sateesh <[email protected]> wrote:
> Hi,
> 
> I tried to generate the puppet documentation using "puppet doc"
> command. But it is not generating the documentation files for me. I
> have tried following commands:
> 
> 1. puppet doc --outputdir /tmp/rdoc --mode rdoc /etc/puppet/modules/
> mymodule/manifests/
> 2. puppetdoc --outputdir /tmp/rdoc --mode rdoc /etc/puppet/modules/
> mymodule/manifests/
> 3. puppetdoc --outputdir /tmp/rdoc --mode rdoc /etc/puppet/modules/
> mymodule/manifests/mymanifest.pp
> 4. puppetdoc /etc/puppet/modules/mymodule/manifests/
> 5. puppetdoc /etc/puppet/modules/mymodule/manifests/mymanifest.pp
> 
> Please let me know where I am making the mistake.
> 
> Thanks in advance,
> Sateesh B.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" 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-users?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" 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-users?hl=en.

Reply via email to