On Wed, 2009-02-18 at 14:45 -0800, chakkerz wrote:
> PS:
> 
> if i add something like:
> # = Class: ntp_conf
> 
> 
> or
> # = Class:
> # ntp_conf
> 
> i get:
> [r...@puppetbeta puppet]# puppetdoc --all --verbose --debug modules/
> ntp_conf/manifests/init.pp
> info: scanning: ["modules/ntp_conf/manifests/init.pp"]
> Could not generate documentation: undefined method `line' for
> nil:NilClass
> 
> Besides there being an error, if it worked, shouldn't it at least tell
> me that the class is called ntp_conf?

Yes it should have, provided you are running >= 0.24.7. The issue is
that something in your manifest makes puppetdoc crash so it doesn't
output anything.

Can you try:
puppetdoc --all --debug --trace modules/ntp_conf/manifests/init.pp

Then with the result, open a redmine ticket so that we get a chance to
fix this issue for 0.24.8. If you can also post your manifest so that I
can reproduce the issue, that'd be perfect.
-- 
Brice Figureau
My Blog: http://www.masterzen.fr/


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