Issue #2018 has been updated by luke.

Status changed from Accepted to Ready for Checkin

Fixed in the tickets/master/2018 branch in my repo.
----------------------------------------
Bug #2018: pi is broken in master HEAD
http://projects.reductivelabs.com/issues/2018

Author: masterzen
Status: Ready for Checkin
Priority: Normal
Assigned to: luke
Category: documentation
Target version: 0.25.0
Complexity: Unknown
Affected version: 0.25.0
Keywords: pi doc


pi is broken in master HEAD because of 
commit:"89c25ad0661fbc1d57830f4648a3b108f4347278"
which removed Puppet::Type.eachattr.

I don't really know how to fix this.

see:
<pre>
% pi file  

file
====
Manages local files, including setting ownership and
permissions, creation of both files and directories, and
retrieving entire files from remote servers.  As Puppet matures, it
expected that the ``file`` resource will be used less and less to
manage content, and instead native resources will be used to do so.

If you find that you are often copying files in from a central
location, rather than using native resources, please contact
Reductive Labs and we can hopefully work with you to develop a
native resource to support what you are doing.


Parameters
----------
/Users/brice/devl/puppet/lib/puppet/application/pi.rb:127:in `format_attrs': 
undefined method `eachattr' for Puppet::Type::File:Class (NoMethodError)
        from /Users/brice/devl/puppet/lib/puppet/application/pi.rb:100:in 
`format_type'
        from /Users/brice/devl/puppet/lib/puppet/application/pi.rb:202:in `main'
        from /Users/brice/devl/puppet/lib/puppet/application/pi.rb:202:in `each'
        from /Users/brice/devl/puppet/lib/puppet/application/pi.rb:202:in `main'
        from /Users/brice/devl/puppet/lib/puppet/application.rb:226:in `send'
        from /Users/brice/devl/puppet/lib/puppet/application.rb:226:in 
`run_command'
        from /Users/brice/devl/puppet/lib/puppet/application.rb:217:in `run'
        from bin/pi:17
</pre>


----------------------------------------
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://reductivelabs.com/redmine/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