Issue #4860 has been updated by Markus Roberts.

Status changed from Ready for Checkin to Closed

Pushed to 2.6.x in commit:574812ef00e6681fce88bd1e66bbc07e7ade4b41 (fixing the 
tests that should have caught this) and 
commit:68947e7f31b6145bf50935ffcd5c10f1c6609eb4 (the fix)

----------------------------------------
Bug #4860: Wrong method name "params".
http://projects.puppetlabs.com/issues/4860

Author: Simon Effenberg
Status: Closed
Priority: Normal
Assignee: 
Category: executables
Target version: 2.6.2
Affected version: 2.6.1
Keywords: 
Branch: http://github.com/mmrobins/puppet/tree/ticket/2.6.x/4860


When trying to generate a puppet doc for my puppet manifest with:

    puppet doc --mode rdoc --outputdir /tmp/rdoc -a

i got:

    Could not generate documentation: impossible to parse class 'base' in 
/etc/puppet/modules/filesync/manifests/defines/share.pp at line 52: impossible 
to parse resource in /etc/puppet/modules/filesync/manifests/defines/share.pp at 
line 55: undefined method `params' for 
#<Puppet::Parser::AST::Resource:0x7ffb5f2f75f8>

after debugging it the problem seems to be that a refactoring commit 
0d704686b923c7827b9fe16f20d4f8722c125d88 wasn't clean (the referenced call 
wasn't found).

Fixed in commit 
http://github.com/Savar/puppet/commit/25595ccb4549ab815b55596e33f2893c32bad2e225595ccb4549ab815b55596e33f2893c32bad2e2


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